Class/Object

it.agilelab.bigdata.wasp.producers.metrics.kafka.throughput

KafkaThroughputProducerGuardian

Related Docs: object KafkaThroughputProducerGuardian | package throughput

Permalink

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)

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

    Permalink

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Abstract Value Members

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

    Permalink
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  5. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. var associatedTopic: Option[TopicModel]

    Permalink
    Definition Classes
    ProducerGuardian
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  12. val cluster: Cluster

    Permalink
    Definition Classes
    ProducerGuardian
  13. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def initialize(): Either[String, Unit]

    Permalink
    Definition Classes
    ProducerGuardian
  19. def initialized: akka.actor.Actor.Receive

    Permalink
    Definition Classes
    ProducerGuardian
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def kafkaThroughputConfigs(): Either[String, List[KafkaThroughputConfig]]

    Permalink

    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

    Permalink
    Definition Classes
    ProducerGuardian
  23. val logger: WaspLogger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. val name: String

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def postStop(): Unit

    Permalink
    Definition Classes
    ProducerGuardian → Actor
  30. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  31. def preStart(): Unit

    Permalink
    Definition Classes
    KafkaThroughputProducerGuardianProducerGuardian → Actor
  32. var producer: ProducerModel

    Permalink
    Definition Classes
    ProducerGuardian
  33. def receive: akka.actor.Actor.Receive

    Permalink
    Definition Classes
    ProducerGuardian → Actor
  34. var router_name: String

    Permalink
    Definition Classes
    ProducerGuardian
  35. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  36. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  37. def startChildActors(): Unit

    Permalink
  38. def stopChildActors(): Unit

    Permalink
    Definition Classes
    ProducerGuardian
  39. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  42. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  43. def uninitialized: akka.actor.Actor.Receive

    Permalink
    Definition Classes
    ProducerGuardian
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    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