[QUESTION] How to close connection if Kafka server isn't responding?
Aberta
question
- Linguagem predominante
- Python
- Estrelas
- 1.4k
- Forks
- 269
- Merge médio
- 1d 1h
- PRs com merge (30d)
- 6
Descrição
Hi!
I want to close both a producer and consumer when Kafka server isn't responding anymore.
If I do
```python
await producer.stop()
```
```python
await consumer.stop()
```
It will try to flush, but since the server isn't online, it won't close.
Any suggestions?
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.