kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Ogden <gog...@gmail.com>
Subject kafka stream to new topic based on message key
Date Tue, 04 Oct 2016 19:51:08 GMT
Is it possible, in a kafka streaming job, to write to another topic based
on the key in the messages?

For example, say the message is:

123456#{"id":56789,"type":1}

where the key is 123456, # is the delimeter, and the {} is the json data.

And I want to push the json data to another topic that will have the name
123456_lv2.

Is this possible with kafka streaming?

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