apache / apache/pulsar-client-node
producer times out and closes
- Lingua principale
- C++
- Stelle
- 164
- Fork
- 98
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello
My use case is for a long running system that produces messages by event triggers (think something like a web server that produces data for pulsar on HTTP events)
I find this works ok for a brief period of time, but then the producer times out and subsequent events then fail to get sent to pulsar
my work around is to open the connection, use the producer to send the data to pulsar, then close the connection every time -- this seems like a waste of time connecting/disconnecting
is there a way (or can there be a way) to make the producer connection long lasting? or auto-reconnecting?
thanks
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Non viene indicato alcun file, test o punto di ingresso. Inizia riproducendo il timeout del producer di lunga durata nel client NodeJS ed esamina il ciclo di vita del producer e la gestione della connessione; il lavoro è completato quando gli invii successivi attivati dagli eventi continuano a funzionare senza chiudere e riaprire la connessione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, nodejs
- Ambito
- backend, distributed-systems
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100