cppkafka icon indicating copy to clipboard operation
cppkafka copied to clipboard

proposal: Create cpp stream api for producer and consume

Open barrotsteindev opened this issue 7 years ago • 5 comments

most simple produce/consume operations can probably be simplified using the C++ stream api, where each consumer or producer could have a streaming variant, which opens an input/output stream which consumes kafka messages.

Would this be of any help?

thanks in advance.

edenhill/librdkafka#1595

barrotsteindev avatar Dec 17 '17 19:12 barrotsteindev

Do you mean implementing the Kafka Streams API in cppkafka? That sounds like a great idea but it's a lot of work and I don't have enough time to implement something like that at the moment.

mfontanini avatar Dec 19 '17 00:12 mfontanini

That's a great idea but I was shooting towards input output streams

barrotsteindev avatar Dec 19 '17 04:12 barrotsteindev

Can you be more specific on what you're referring to? What sort of API are you thinking of?

mfontanini avatar Dec 19 '17 19:12 mfontanini

@barrotsteindev do you mean like <iostream> streams?

Bklyn avatar Dec 29 '17 16:12 Bklyn

Yes

On Dec 29, 2017 6:14 PM, "Caleb Epstein" [email protected] wrote:

@barrotsteindev https://github.com/barrotsteindev do you mean like streams?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mfontanini/cppkafka/issues/33#issuecomment-354465744, or mute the thread https://github.com/notifications/unsubscribe-auth/ACWANHlTlwUUVeF4FU1w98Wt5zzVfKO_ks5tFQ_mgaJpZM4RExgC .

barrotsteindev avatar Dec 29 '17 16:12 barrotsteindev