Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to navigate from a topic consumer/producer/queue to the owning handle/creator #19

Open
mutability opened this issue Jul 29, 2017 · 0 comments

Comments

@mutability
Copy link
Contributor

Please add a way to get the consumer/producer creator that created a particular producer/consumer/queue

i.e. something like:

::kafka::kafka create kafka_master
kafka_master consumer_creator kafka_consumer_creator
kafka_consumer_creator new_topic kafka_consumer thetopicname
set handle [kafka_consumer info handle]
# now $handle == kafka_consumer_creator

This is useful because there are some things such as output_queue_length which belong at the handle level because they're shared at that level, but which are useful to use when you're dealing with the individual producer/consumer commands. Having to pass around both the creator command and the consumer command is awkward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant