Packages

t

com.lightbend.lagom.scaladsl.broker.kafka

LagomKafkaComponents

trait LagomKafkaComponents extends LagomKafkaClientComponents with ProjectionComponents

Components for including Kafka into a Lagom application.

Extending this trait will automatically start all topic producers.

Source
LagomKafkaComponents.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LagomKafkaComponents
  2. ProjectionComponents
  3. ClusterComponents
  4. ClusterShardingTypedComponents
  5. AkkaManagementComponents
  6. RequiresJsonSerializerRegistry
  7. ProvidesJsonSerializerRegistry
  8. LagomKafkaClientComponents
  9. TopicFactoryProvider
  10. AnyRef
  11. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def actorSystem: ActorSystem
  2. abstract def config: Config
    Definition Classes
    LagomKafkaClientComponents
  3. abstract def configuration: Configuration
    Definition Classes
    AkkaManagementComponents
  4. abstract def coordinatedShutdown: CoordinatedShutdown
    Definition Classes
    AkkaManagementComponents
  5. abstract def environment: Environment
  6. abstract def executionContext: ExecutionContext
    Definition Classes
    AkkaManagementComponents
  7. abstract def jsonSerializerRegistry: JsonSerializerRegistry

    The serializer registry.

    The serializer registry.

    If no JSON serializers need to be provided, this can simply return EmptyJsonSerializerRegistry.

    Definition Classes
    RequiresJsonSerializerRegistry
  8. abstract def lagomServer: LagomServer
  9. abstract def materializer: Materializer
    Definition Classes
    LagomKafkaClientComponents
  10. abstract def offsetStore: OffsetStore
  11. abstract def serviceInfo: ServiceInfo
    Definition Classes
    LagomKafkaClientComponents
  12. abstract def serviceLocator: ServiceLocator

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from LagomKafkaComponents to any2stringadd[LagomKafkaComponents] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LagomKafkaComponents, B)
    Implicit
    This member is added by an implicit conversion from LagomKafkaComponents to ArrowAssoc[LagomKafkaComponents] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. val cluster: Cluster
    Definition Classes
    ClusterComponents
  9. lazy val clusterSharding: ClusterSharding
  10. def ensuring(cond: (LagomKafkaComponents) ⇒ Boolean, msg: ⇒ Any): LagomKafkaComponents
    Implicit
    This member is added by an implicit conversion from LagomKafkaComponents to Ensuring[LagomKafkaComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (LagomKafkaComponents) ⇒ Boolean): LagomKafkaComponents
    Implicit
    This member is added by an implicit conversion from LagomKafkaComponents to Ensuring[LagomKafkaComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): LagomKafkaComponents
    Implicit
    This member is added by an implicit conversion from LagomKafkaComponents to Ensuring[LagomKafkaComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): LagomKafkaComponents
    Implicit
    This member is added by an implicit conversion from LagomKafkaComponents to Ensuring[LagomKafkaComponents] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LagomKafkaComponents to StringFormat[LagomKafkaComponents] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def optionalJsonSerializerRegistry: Option[JsonSerializerRegistry]

    The optionally provided serializer registry.

    The optionally provided serializer registry.

    Note that this can also be exploited to allow multiple traits to contribute to the serializer registry rather than provide one, by checking whether the super implementation also provides one, and concatenating with that if it does. To do that, the override must be a def, so that it can be subsequently overridden by other mixed in traits.

    Definition Classes
    RequiresJsonSerializerRegistryProvidesJsonSerializerRegistry
  25. def optionalTopicFactory: Option[TopicFactory]
    Definition Classes
    LagomKafkaClientComponents → TopicFactoryProvider
  26. lazy val projections: Projections
    Definition Classes
    ProjectionComponents
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. lazy val topicFactory: TopicFactory
    Definition Classes
    LagomKafkaClientComponents
  30. def topicPublisherName: Option[String]

    The name of the topic publisher.

    The name of the topic publisher.

    Since topic publishers don't actually provide any components, they just consume a LagomServer and publish the topics they find there, this can be used to signal that a topic publisher has been provided to publish topics, so that the LagomServerComponents can detect a misconfiguration where one hasn't been provided.

    returns

    The name of the topic publisher that has published topics, if one has been provided.

    Definition Classes
    LagomKafkaComponents → TopicFactoryProvider
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. def [B](y: B): (LagomKafkaComponents, B)
    Implicit
    This member is added by an implicit conversion from LagomKafkaComponents to ArrowAssoc[LagomKafkaComponents] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ProjectionComponents

Inherited from ClusterComponents

Inherited from AkkaManagementComponents

Inherited from TopicFactoryProvider

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from LagomKafkaComponents to any2stringadd[LagomKafkaComponents]

Inherited by implicit conversion StringFormat from LagomKafkaComponents to StringFormat[LagomKafkaComponents]

Inherited by implicit conversion Ensuring from LagomKafkaComponents to Ensuring[LagomKafkaComponents]

Inherited by implicit conversion ArrowAssoc from LagomKafkaComponents to ArrowAssoc[LagomKafkaComponents]

Ungrouped