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

Producers hangs while stopping in frozen datetime context #1060

Open
mdczaplicki opened this issue Oct 22, 2024 · 0 comments
Open

Producers hangs while stopping in frozen datetime context #1060

mdczaplicki opened this issue Oct 22, 2024 · 0 comments

Comments

@mdczaplicki
Copy link

Describe the bug
Producers created in a frozen datetime context fail to stop properly (freezes). When freezing the datetime using https://github.com/spulec/freezegun.

Expected behaviour
Producers successfully start & stop.

Environment (please complete the following information):

  • aiokafka version (python -c "import aiokafka; print(aiokafka.__version__)"): 0.11.0
  • Kafka Broker version (kafka-topics.sh --version): -
  • Other information (Confluent Cloud version, etc.): -

Reproducible example
The code hangs in here: https://github.com/aio-libs/aiokafka/blob/master/aiokafka/producer/producer.py#L386

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