com.twitter.finatra.kafkastreams.dsl.FinatraDslToCluster
Publishes events to a kafka topic on the specified cluster rather than the primary cluster.
Publishes events to a kafka topic on the specified cluster rather than the primary cluster. This call is needed because KafkaStreams does not natively provide the ability to publish to a cluster different from the cluster from whith it is consuming. Can only be used in at_least_once processing guarantee. Will not work with exactly_once.
Cluster to which events are published (wily path or host:port)
Topic to which events are published
ClientId used in the FinagleKafkaProducer
StatsReceiver used both in the FinagleKafkaProducer and AsyncProcessor
Configuration used to configure the FinagleKafkaProducer
Interval at which the AsyncProcessor performs commits
Timeout for which the AsyncProcessor waits for publishes to complete
Maximum number of events pending publishing
An [org.apache.kafka.streams.scala.Produced] to specify the serializers for the key & value