Comments (2)
It is not recommended because it is not fully predictable
old but still valid: https://blog.arkency.com/2013/06/are-we-abusing-at-exit/
I recommend using given framework native exit capabilities. It no native capabilities are present and you know what you are doing at exit should be sufficient.
Older versions of karafka rdkafka would occasionally crash on at exit close but I did not see this issue for years now so you should be good.
from waterdrop.
Perfect - thank you for the response and clarification!
from waterdrop.
Related Issues (20)
- Errors raised during `produce_sync` and `produce_async` via monitor missing root cause. HOT 2
- Move payload reporting into debug for logger
- Allow waterdrop to use topic as a symbol or a string
- Expose `#flush`, `#purge` and `#close!` (combination of those) once karafka-rdkafka released
- Commit transaction should not kick in when transaction is aborted
- Do not publish error messages on purged messages that were part of an aborted transaction (if possible)
- Buffered client transactions on abort store messages in the internal accu
- Make dummy and buffer clients return incremental offsets
- Expand instrumentation views in DD with scale (ms vs micro)
- Make WaterDrop Buffered `#messages_for` return arrah instead of `nil` when nothing dispatched HOT 1
- Provide ability to pass trace_id (name tba) when producing to use within the delivery handler and report HOT 1
- Support transactional offset metadata storage
- Support getting partition count data from producer for custom partitioners HOT 1
- Document possibility of using partitions count for custom partitioners
- Produce lifecycle events similar to karafka
- Revisit the librdkafka `delivery.timeout.ms` vs. max wait time
- Introduce `instrument_on_wait_queue_full` for ability to disable instrumentation on non-critical queue full errors
- Document `instrument_on_wait_queue_full` in the docs on retries
- Transactional producer config not aligned by default
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waterdrop.