Re: Kafka Streams: Read from one Bootstrap server & write to other

2020-12-02 Thread Matthias J. Sax
Eric, this idea came up multiple time already, but it is much more difficult to build than it seems, especially for supporting "exactly once". Kafka transaction only work on a single cluster... Maybe we will support it at some point, but the "workaround" to either replicate the input or output to

Re: Kafka Streams: Read from one Bootstrap server & write to other

2020-12-01 Thread Malcolm McFarland
How about a lightweight MirrorMaker instance for just this topic? Malcolm McFarland Cavulus This correspondence is from HealthPlanCRM, LLC, d/b/a Cavulus. Any unauthorized or improper disclosure, copying, distribution, or use of the contents of this message is prohibited. The information contain

Re: Kafka Streams: Read from one Bootstrap server & write to other

2020-12-01 Thread Eric Beabes
Hmm.. Ok. Maybe this could be a feature request for a future release. This can be accomplished easily in Spark Structured Streaming... just saying :) In Spark Structured Streaming we can have separate configurations for 'readStream' & 'writeStream'. I am a bit surprised this is not available in Ka

Re: Kafka Streams: Read from one Bootstrap server & write to other

2020-12-01 Thread Matthias J. Sax
KafkaStreams can only connect to a single cluster. If you really need to read from one cluster and write to another, you have 3 main options: - use KafkaStreams on the source cluster and mirror the output topic from the source to the target cluster - mirror the input topic from the source clus

Kafka Streams: Read from one Bootstrap server & write to other

2020-12-01 Thread Eric Beabes
I need to read from a topic in one bootstrap server & write it to another topic in another bootstrap server. Since there's only one StreamsConfig.BOOTSTRAP_SERVERS_CONFIG property, I am wondering how to accomplish this? Do I need to create 2 different KafkaStreams objects? One for reading & the ot