kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shimi Kiviti <shim...@gmail.com>
Subject Writing data from kafka-streams to remote database
Date Sun, 05 Mar 2017 10:48:32 GMT
Hi Everyone,

I was wondering about writing data to remote database.
I see 4 possible options:

   1. Read from a topic and write to the database.
   2. Use kafka connect
   3. Write from anywhere in kafka streams.
   4. Register a CachedStateStore FlushListener that will send a batch of
   records when the store flush the records.

Advantages of #4:

   - The code is decoupled from the processing code and easier to refactor
   in the future.
   - Remove the need for additional kafka topic.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message