kcat icon indicating copy to clipboard operation
kcat copied to clipboard

Can send commit message manually?

Open mjafarpour opened this issue 6 years ago • 3 comments

Hi,

Can use kafkacat that commit message sent manually to the broker? I want use in fail over use case, and how can get last location in log when my process that use kafkacat, crashed.

mjafarpour avatar Sep 09 '17 10:09 mjafarpour

That's currently not possible but could be added. Can you give an example how you would like to use this feature?

edenhill avatar Sep 09 '17 12:09 edenhill

I want to develop a microservice platform by Node.js and kafka. librdkafka is the best choose for this work. that is written in C with a good performance. but my goal is take away from the complexity of a C program. the kafkacat is a CLI tools that can run in a Node program with ease of use. the ability of trace the log is a important requirement in my project. after read the help of kafkacat i see the -o stored in consume services can be a good candidate for this case. but the manually commit the log has a high level of assurance. sorry for my English.

mjafarpour avatar Sep 09 '17 15:09 mjafarpour

I think you might want to consider using node-rdkafka which wraps librdkafka.

edenhill avatar Sep 25 '17 08:09 edenhill