Package

com.softwaremill.react

kafka

Permalink

package kafka

Visibility
  1. Public
  2. All

Type Members

  1. case class ConsumerProperties[K, V](params: Map[String, String], topic: String, groupId: String, keyDeserializer: Deserializer[K], valueDeserializer: Deserializer[V], pollTimeout: FiniteDuration = 500 millis, pollRetryDelay: FiniteDuration = 500 millis) extends Product with Serializable

    Permalink
  2. class KafkaGraphStageSink[K, V] extends GraphStage[SinkShape[ProducerMessage[K, V]]] with LazyLogging

    Permalink
  3. class KafkaGraphStageSource[K, V] extends GraphStage[SourceShape[ConsumerRecord[K, V]]] with LazyLogging

    Permalink
  4. case class KeyValueProducerMessage[K, V](key: K, value: V) extends ProducerMessage[K, V] with Product with Serializable

    Permalink
  5. sealed trait ProducerMessage[K, V] extends AnyRef

    Permalink
  6. case class ProducerProperties[K, V](params: Map[String, AnyRef], topic: String, keySerializer: Serializer[K], valueSerializer: Serializer[V], partitionizer: (V) ⇒ Option[Int] = (_: V) => None) extends Product with Serializable

    Permalink
  7. class PropertiesBuilder extends AnyRef

    Permalink
  8. case class PublisherWithCommitSink[K, V](publisher: Publisher[ConsumerRecord[K, V]], publisherActor: ActorRef, kafkaOffsetCommitSink: KafkaSink[ConsumerRecord[K, V]]) extends Product with Serializable

    Permalink
  9. class ReactiveKafka extends AnyRef

    Permalink
  10. case class ReactiveKafkaConsumer[K, V](properties: ConsumerProperties[K, V], topicsAndPartitions: Set[TopicPartition], topicPartitionOffsetsMap: Map[TopicPartition, Long]) extends Product with Serializable

    Permalink

    ReactiveKafkaConsumer allows for instantiating KafkaConsumer instances with several combinations of topic, partition, and offset parameters, depending on the use case.

  11. case class SourceWithCommitSink[K, V](source: Source[ConsumerRecord[K, V], NotUsed], offsetCommitSink: Sink[ConsumerRecord[K, V], NotUsed], underlyingConsumer: ReactiveKafkaConsumer[K, V]) extends Product with Serializable

    Permalink
  12. case class ValueProducerMessage[V](value: V) extends ProducerMessage[Array[Byte], V] with Product with Serializable

    Permalink

Value Members

  1. object ConsumerProperties extends Serializable

    Permalink
  2. object KafkaActorPublisher

    Permalink
  3. object KafkaMessages

    Permalink
  4. object ProducerMessage

    Permalink
  5. object ProducerProperties extends Serializable

    Permalink
  6. object ReactiveKafka

    Permalink
  7. object ReactiveKafkaConsumer extends Serializable

    Permalink
  8. package commit

    Permalink

    Based on from https://github.com/cjdev/kafka-rx

Ungrouped