Looking at the source for RscalaKafkaProducer$send, it appears that topic is hard-coded from the instantiation. Is it possible to add topic as an argument to $send, defaulting to the original topic if not provided? (I believe it is reasonable for a single producer to be able to send to multiple topics. Please tell me if there is rationale against this behavior.)
Looking at the source for
RscalaKafkaProducer$send
, it appears thattopic
is hard-coded from the instantiation. Is it possible to addtopic
as an argument to$send
, defaulting to the original topic if not provided? (I believe it is reasonable for a single producer to be able to send to multiple topics. Please tell me if there is rationale against this behavior.)