Packages

abstract class KafkaThroughputProducerGuardian[A] extends ProducerGuardian

Linear Supertypes
ProducerGuardian, Logging, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KafkaThroughputProducerGuardian
  2. ProducerGuardian
  3. Logging
  4. Actor
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KafkaThroughputProducerGuardian(env: AnyRef { ... /* 2 definitions in type refinement */ }, producerName: String)
  2. new KafkaThroughputProducerGuardian(env: AnyRef { ... /* 2 definitions in type refinement */ }, producerName: String, kafkaOffsetCheckerGuardianFactory: (ActorRefFactory) ⇒ ActorRef, requestsTimeout: FiniteDuration)

Type Members

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

Abstract Value Members

  1. abstract def createActor(kafkaActor: ActorRef, topicToCheck: String, triggerInterval: Long, windowSize: Long, sendMessageEveryXsamples: Int): KafkaThroughputProducerActor[A]
    Attributes
    protected

Concrete 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
  5. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. var associatedTopic: Option[TopicModel]
    Definition Classes
    ProducerGuardian
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  12. val cluster: Cluster
    Definition Classes
    ProducerGuardian
  13. implicit val context: ActorContext
    Definition Classes
    Actor
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def initialize(): Either[String, Unit]
    Definition Classes
    ProducerGuardian
  19. def initialized: akka.actor.Actor.Receive
    Definition Classes
    ProducerGuardian
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def kafkaThroughputConfigs(): Either[String, List[KafkaThroughputConfig]]

    Method to pick the topics you want to monitor.

    Method to pick the topics you want to monitor. Default implementation looks for the configuration: wasp.kafkaThroughput.topics which is expected to be a list of conf which should contain the following fields

    • topicName: The topic name to monitor
    • triggerIntervalMs: how many millis should pass between an offset check and the next (i.e. how frequently kafka is going to be contacted)
    • windowSizeMs: window over the throughput will be calculated
    • sendMessageEvery: every how many offset check a new message should be emitted
    returns

    Right list of topics to monitor, Left error message

    Attributes
    protected
  22. var kafka_router: ActorRef
    Definition Classes
    ProducerGuardian
  23. val logger: WaspLogger
    Attributes
    protected
    Definition Classes
    Logging
  24. val name: String
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def postStop(): Unit
    Definition Classes
    ProducerGuardian → Actor
  30. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  31. def preStart(): Unit
    Definition Classes
    KafkaThroughputProducerGuardianProducerGuardian → Actor
  32. var producer: ProducerModel
    Definition Classes
    ProducerGuardian
  33. def receive: akka.actor.Actor.Receive
    Definition Classes
    ProducerGuardian → Actor
  34. var router_name: String
    Definition Classes
    ProducerGuardian
  35. implicit final val self: ActorRef
    Definition Classes
    Actor
  36. final def sender(): ActorRef
    Definition Classes
    Actor
  37. def startChildActors(): Unit
  38. def stopChildActors(): Unit
    Definition Classes
    ProducerGuardian
  39. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  43. def uninitialized: akka.actor.Actor.Receive
    Definition Classes
    ProducerGuardian
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ProducerGuardian

Inherited from Logging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped