Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to create a single connection pool (a transport) for all the communication with our Kafka cluster. So I create a
kafka.Transport
and pass it intokafka.Writer
. So far so good, however, when I try to do the same forkafka.Reader
there is no configuration field.Can you explain me what am I missing?
Is it possible that consumers are "always connected" thus connection pooling does not make any sense for them?
Is it safe to create a single dialer and share it similarly to transport?
Here is my code:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions