Packages

class KafkaBuffer[T <: Serializable] extends Buffer[T] with Logging

The implementation for the Kafka buffer. This buffer is the default.

T

Type of the data in this Buffer.

Linear Supertypes
Logging, Buffer[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KafkaBuffer
  2. Logging
  3. Buffer
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KafkaBuffer(pipeline: Pipeline, properties: Properties, topic: String, groupId: String)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.TypeTag[T])

    pipeline

    The pipeline for which we use this Buffer.

    properties

    The properties of this Buffer.

    topic

    The topic to write to, which is basically the subject.

    groupId

    The group id, to specify the consumer group in Kafka.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def checkAndCreateSubject(topic: String, connection: String): Unit

    Checks if a Kafka topic exists, if not it is created.

    Checks if a Kafka topic exists, if not it is created.

    topic

    The topic to create.

    connection

    The kafka broker to connect to.

  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def exposeSchema(): Boolean

    Exposes the Avro schema to an external service (like redis/zookeeper).

    Exposes the Avro schema to an external service (like redis/zookeeper).

    returns

    True if successfully exposed.

  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getExposer: SchemaExposer

    Get schema exposer based on configuration.

    Get schema exposer based on configuration.

    returns

    A schema exposer instance.

  13. def getKafkaProperties: java.util.Properties

    Get all the Kafka properties.

    Get all the Kafka properties.

    returns

    A map with all the properties.

  14. def getProperties: Properties

    Returns the properties of this buffer.

    Returns the properties of this buffer.

    Definition Classes
    Buffer
  15. def getSerializer: AbstractSerde[T]

    Get serializer/deserializer of elements for a buffer.

    Get serializer/deserializer of elements for a buffer. Defaults to JSON.

    returns

    The configured serializer.

    Definition Classes
    Buffer
  16. def getSink: SinkFunction[T]

    Get a Kafka Producer as sink to the buffer.

    Get a Kafka Producer as sink to the buffer.

    returns

    The SinkFunction created by this Producer.

    Definition Classes
    KafkaBufferBuffer
  17. def getSource: DataStream[T]

    Get a Kafka Consumer as source for a stage.

    Get a Kafka Consumer as source for a stage.

    returns

    The DataStream retrieved from the buffer.

    Definition Classes
    KafkaBufferBuffer
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. val inputClassType: Class[T]
    Definition Classes
    Buffer
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. implicit val typeInfo: TypeInformation[T]
    Definition Classes
    Buffer
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Logging

Inherited from Buffer[T]

Inherited from AnyRef

Inherited from Any

Ungrouped