package
kafka
Type Members
-
class
AkkaBatchConsumer[Key, Msg, Out, BatchOut] extends AnyRef
-
case class
AkkaBatchConsumerProps[Key, Msg, Out, BatchOut](system: ActorSystem, actorRefFactory: ActorRefFactory, zkConnect: String, topicFilterOrTopic: Either[TopicFilter, String], group: String, streams: Int, keyDecoder: Decoder[Key], msgDecoder: Decoder[Msg], msgHandler: (MessageAndMetadata[Key, Msg]) ⇒ Out, batchHandler: (IndexedSeq[Out]) ⇒ BatchOut, receiver: ActorRef, connectorActorName: Option[String], batchSize: Int = 1000, batchTimeout: Timeout = ..., startTimeout: Timeout = ...) extends Product with Serializable
-
class
AkkaConsumer[Key, Msg] extends AnyRef
-
case class
AkkaConsumerProps[Key, Msg](system: ActorSystem, actorRefFactory: ActorRefFactory, zkConnect: String, topicFilterOrTopic: Either[TopicFilter, String], group: String, streams: Int, keyDecoder: Decoder[Key], msgDecoder: Decoder[Msg], msgHandler: (MessageAndMetadata[Key, Msg]) ⇒ Any, receiver: ActorRef, connectorActorName: Option[String], maxInFlightPerStream: Int = 64, startTimeout: Timeout = ..., commitConfig: CommitConfig = ...) extends Product with Serializable
-
-
-
case class
CommitConfig(commitInterval: Option[FiniteDuration] = ..., commitAfterMsgCount: Option[Int] = scala.Some.apply[Int](10000), commitTimeout: Timeout = ...) extends Product with Serializable
-
-
class
StreamFSM[Key, Msg] extends Actor with FSM[StreamState, Int]