Packages

  • package root
    Definition Classes
    root
  • object KafkaConsumerExample extends App

    This is an example of how to use the container for a microservice that is a consumer of Kafka messages.

    This is an example of how to use the container for a microservice that is a consumer of Kafka messages. The example does NOT run standalone as it is an example and depends on an environment where this a running Zookeeper and Kafka instances. See https://github.com/sclasen/akka-kafka for more information on the consumer.

    Definition Classes
    root
  • KafkaConsumerManager
  • Printer
c

KafkaConsumerExample

KafkaConsumerManager

class KafkaConsumerManager extends Actor with RegisteredHealthCheckActor with ActorLoggingAdapter

This is the Kafka Consumer Manager. It will setup and monitor the consumer(s). The actor participates in monitoring the health of the system and this

Linear Supertypes
ActorLoggingAdapter, RegisteredHealthCheckActor, HealthCheck, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KafkaConsumerManager
  2. ActorLoggingAdapter
  3. RegisteredHealthCheckActor
  4. HealthCheck
  5. Actor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KafkaConsumerManager()

Type Members

  1. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  5. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  7. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. var consumer: Try[KafkaConsumer[String, String]]
  12. val consumerGroup: Source[(TopicPartition, Source[CommittableMessage[String, String], NotUsed]), Control]
  13. lazy val consumerSettings: ConsumerSettings[String, String]
  14. implicit val context: ActorContext
    Definition Classes
    Actor
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def getHealth: Future[HealthInfo]
    Definition Classes
    RegisteredHealthCheckActor → HealthCheck
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. lazy val log: Logger
    Definition Classes
    ActorLoggingAdapter
    Annotations
    @transient()
  23. val logSrc: (String, Class[_])
    Definition Classes
    ActorLoggingAdapter
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  27. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  28. def postStop(): Unit
    Definition Classes
    KafkaConsumerManager → Actor
  29. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  30. def preStart(): Unit
    Definition Classes
    KafkaConsumerManager → Actor
  31. def receive: PartialFunction[Any, Unit]
    Definition Classes
    KafkaConsumerManager → Actor
  32. implicit final val self: ActorRef
    Definition Classes
    Actor
  33. final def sender(): ActorRef
    Definition Classes
    Actor
  34. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ActorLoggingAdapter

Inherited from RegisteredHealthCheckActor

Inherited from HealthCheck

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped