Package

pl.touk.nussknacker.engine

kafka

Permalink

package kafka

Visibility
  1. Public
  2. All

Type Members

  1. abstract class BaseKafkaSourceFactory[T] extends FlinkSourceFactory[T] with Serializable

    Permalink
  2. class ConsumerGroupDeterminer extends AnyRef

    Permalink
  3. class KafkaExceptionConsumer extends FlinkEspExceptionConsumer

    Permalink
  4. class KafkaSinkFactory extends SinkFactory

    Permalink
  5. class KafkaSourceFactory[T] extends BaseKafkaSourceFactory[T]

    Permalink

    Wrapper for [[org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer]]
    Features:
      - fetch latest N records which can be later used to test process in UI
    Fetching data is defined in [[pl.touk.nussknacker.engine.kafka.BaseKafkaSourceFactory.KafkaSource]] which
    extends [[pl.touk.nussknacker.engine.api.process.TestDataGenerator]]. See [[pl.touk.nussknacker.engine.kafka.KafkaEspUtils#readLastMessages]]
      - reset Kafka's offset to latest value - `forceLatestRead` property, see [[pl.touk.nussknacker.engine.kafka.KafkaEspUtils#setOffsetToLatest]]
    
    BaseKafkaSourceFactory comes in two variants:
      - KafkaSourceFactory - `topic` parameter has to be passed on frontend
      - SingleTopicKafkaSourceFactory - topic is defined on level of configuration
    
    

    Wrapper for [[org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer]]
    Features:
      - fetch latest N records which can be later used to test process in UI
    Fetching data is defined in [[pl.touk.nussknacker.engine.kafka.BaseKafkaSourceFactory.KafkaSource]] which
    extends [[pl.touk.nussknacker.engine.api.process.TestDataGenerator]]. See [[pl.touk.nussknacker.engine.kafka.KafkaEspUtils#readLastMessages]]
      - reset Kafka's offset to latest value - `forceLatestRead` property, see [[pl.touk.nussknacker.engine.kafka.KafkaEspUtils#setOffsetToLatest]]
    
    BaseKafkaSourceFactory comes in two variants:
      - KafkaSourceFactory - `topic` parameter has to be passed on frontend
      - SingleTopicKafkaSourceFactory - topic is defined on level of configuration
    
    

  6. trait RecordFormatter extends AnyRef

    Permalink

    It is interface for bi-directional conversion between Kafka record and bytes.

    It is interface for bi-directional conversion between Kafka record and bytes. It is used when data stored on topic aren't in human readable format and you need to add extra step in generation of test data and in reading of these data.

  7. class SingleTopicKafkaSourceFactory[T] extends BaseKafkaSourceFactory[T]

    Permalink

Value Members

  1. object ConsumerGroupDeterminer

    Permalink
  2. object KafkaSinkFactory extends Serializable

    Permalink
  3. object KafkaSourceFactory extends Serializable

    Permalink
  4. object PartitionByKeyFlinkKafkaProducer

    Permalink
  5. package generic

    Permalink
  6. package serialization

    Permalink

Ungrouped