3 ms·
I would not expose kafka directly. I would implement this as: HTTP Endpoint -> Push to message queue (kafka, SQS, etc) -> Acknowledge receipt That's a pretty
by mywittyname 5y ago
I would not expose kafka directly. I would implement this as:
HTTP Endpoint -> Push to message queue (kafka, SQS, etc) -> Acknowledge receipt
That's a pretty straight-forward design that's widely used, robust, and easy to put together. I've probably done that same workflow 100s of times without issue.
As long as you guarantee the message was pushed to the queue before acknowledging, that will be fabulously reliable. You need to make contingencies for duplicate messages, but that's not usually difficult.