You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, im trying to reuse kafka instance but it fails when its used to send information to another topic that it is not the first
Traceback:
Traceback (most recent call last):
File "/snap/pycharm-community/364/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_exec2.py", line 3, in Exec
exec(exp, global_vars, local_vars)
File "", line 1, in
File "/home/jaime/.virtualenvs/portico/lib/python3.10/site-packages/kafka/producer/kafka.py", line 576, in send
self._wait_on_metadata(topic, self.config['max_block_ms'] / 1000.0)
File "/home/jaime/.virtualenvs/portico/lib/python3.10/site-packages/kafka/producer/kafka.py", line 702, in _wait_on_metadata
raise Errors.KafkaTimeoutError(
kafka.errors.KafkaTimeoutError: KafkaTimeoutError: Failed to update metadata after 5.0 secs.
Hello, im trying to reuse kafka instance but it fails when its used to send information to another topic that it is not the first
Traceback:
Traceback (most recent call last):
File "/snap/pycharm-community/364/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_exec2.py", line 3, in Exec
exec(exp, global_vars, local_vars)
File "", line 1, in
File "/home/jaime/.virtualenvs/portico/lib/python3.10/site-packages/kafka/producer/kafka.py", line 576, in send
self._wait_on_metadata(topic, self.config['max_block_ms'] / 1000.0)
File "/home/jaime/.virtualenvs/portico/lib/python3.10/site-packages/kafka/producer/kafka.py", line 702, in _wait_on_metadata
raise Errors.KafkaTimeoutError(
kafka.errors.KafkaTimeoutError: KafkaTimeoutError: Failed to update metadata after 5.0 secs.
Kafka Implementation:
`class KafkaProducerSingleton:
_instance = None
_lock = threading.Lock()
The text was updated successfully, but these errors were encountered: