Package

com.twitter.finatra.kafka

producers

Permalink

package producers

Visibility
  1. Public
  2. All

Type Members

  1. class FinagleKafkaProducer[K, V] extends KafkaProducerBase[K, V]

    Permalink

    A standard implementation of KafkaProducerBase that forwards events in key/value pairs to org.apache.kafka.clients.producer.KafkaProducer

    A standard implementation of KafkaProducerBase that forwards events in key/value pairs to org.apache.kafka.clients.producer.KafkaProducer

    K

    type of the key in key/value pairs to be published to Kafka

    V

    type of the value in key/value pairs to be published to Kafka

  2. case class FinagleKafkaProducerBuilder[K, V](config: FinagleKafkaProducerConfig[K, V] = FinagleKafkaProducerConfig[K, V]()) extends KafkaProducerConfigMethods[FinagleKafkaProducerBuilder[K, V]] with Product with Serializable

    Permalink
  3. case class FinagleKafkaProducerConfig[K, V](kafkaProducerConfig: KafkaProducerConfig = KafkaProducerConfig(), keySerializer: Option[Serializer[K]] = None, valueSerializer: Option[Serializer[V]] = None, includeNodeMetrics: Boolean = false, statsReceiver: StatsReceiver = LoadedStatsReceiver) extends KafkaConfig with ToKafkaProperties with Product with Serializable

    Permalink
  4. trait KafkaProducerBase[K, V] extends Closable with Logging

    Permalink

    An interface for publishing events in key/value pairs to Kafka and returning a com.twitter.util.Future

    An interface for publishing events in key/value pairs to Kafka and returning a com.twitter.util.Future

    K

    type of the key in key/value pairs to be published to Kafka

    V

    type of the value in key/value pairs to be published to Kafka

  5. case class KafkaProducerConfig extends KafkaProducerConfigMethods[KafkaProducerConfig] with ToKafkaProperties with Product with Serializable

    Permalink
  6. trait KafkaProducerConfigMethods[Self] extends KafkaConfigMethods[Self] with Logging

    Permalink
  7. class NullKafkaProducer[K, V] extends KafkaProducerBase[K, V]

    Permalink

    A no-op KafkaProducerBase.

    A no-op KafkaProducerBase. No network connection is created and events are discarded, making this producer useful in unit tests and as defaults in situations where event publishing is not needed.

    K

    type of the key in key/value pairs to be published to Kafka

    V

    type of the value in key/value pairs to be published to Kafka

Value Members

  1. object KafkaProducerConfig extends Serializable

    Permalink

Ungrouped