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

Inherited from ProducerGuardian

Inherited from Logging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped