abstract class BacklogSizeAnalyzerProducerActor[A] extends ProducerActor[A]
- Alphabetic
- By Inheritance
- BacklogSizeAnalyzerProducerActor
- ProducerActor
- Logging
- Actor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BacklogSizeAnalyzerProducerActor(kafka_router: ActorRef, kafkaOffsetChecker: ActorRef, topic: Option[TopicModel], topicToCheck: String, etlName: String)
Type Members
-
type
Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
Abstract Value Members
-
abstract
def
generateOutputJsonMessage(input: A): String
Used when writing to topics with data type "json" or "avro"
Used when writing to topics with data type "json" or "avro"
- Definition Classes
- ProducerActor
-
abstract
def
retrievePartitionKey: (A) ⇒ String
Defines a function to extract the key to be used to identify the landing partition in kafka topic, given a message of type T
Defines a function to extract the key to be used to identify the landing partition in kafka topic, given a message of type T
- returns
a function that extract the partition key as String from the T instance to be sent to kafka
- Definition Classes
- ProducerActor
- abstract def toFinalMessage(i: BacklogInfo): A
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
implicit
val
context: ActorContext
- Definition Classes
- Actor
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateOutputBinaryMessage(input: A): Array[Byte]
Used when writing to topics with data type "binary"
Used when writing to topics with data type "binary"
- Definition Classes
- ProducerActor
-
val
generateOutputMessage: Option[(A) ⇒ Array[Byte]]
- Definition Classes
- ProducerActor
-
def
generateOutputPlaintextMessage(input: A): String
Used when writing to topics with data type "plaintext"
Used when writing to topics with data type "plaintext"
- Definition Classes
- ProducerActor
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
kafka_router: ActorRef
- Definition Classes
- ProducerActor
-
val
logger: WaspLogger
- Attributes
- protected
- Definition Classes
- Logging
-
def
mainTask(): Unit
- Definition Classes
- BacklogSizeAnalyzerProducerActor → ProducerActor
-
lazy val
maybeKeySchema: Option[String]
- Definition Classes
- ProducerActor
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
postStop(): Unit
- Definition Classes
- ProducerActor → Actor
-
def
preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preStart(): Unit
- Definition Classes
- BacklogSizeAnalyzerProducerActor → Actor
-
def
receive: akka.actor.Actor.Receive
- Definition Classes
- ProducerActor → Actor
-
def
retrievePartitionKeyBytes: (A) ⇒ Array[Byte]
- Definition Classes
- ProducerActor
-
implicit final
val
self: ActorRef
- Definition Classes
- Actor
-
def
sendMessage(input: A): Unit
Method to send to Kafka a specific message to be added to the raw topic and eventually to a custom topic.
Method to send to Kafka a specific message to be added to the raw topic and eventually to a custom topic.
- Definition Classes
- ProducerActor
-
final
def
sender(): ActorRef
- Definition Classes
- Actor
-
def
stopMainTask(): Option[Boolean]
- Definition Classes
- ProducerActor
-
def
supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
val
system: ActorSystem
- Definition Classes
- ProducerActor
-
var
task: Option[Cancellable]
- Definition Classes
- ProducerActor
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
topic: Option[TopicModel]
- Definition Classes
- ProducerActor
-
lazy val
topicSchema: String
- Definition Classes
- ProducerActor
-
lazy val
topicSchemaType: String
- Definition Classes
- ProducerActor
-
def
unhandled(message: Any): Unit
- Definition Classes
- Actor
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()