Tag:processing unit

  • Define the processor of Kafka streams

    Time:2021-7-23

    order This paper analyzes the kstreambuilder of Kafka streams and gives an example of how to customize the processor of Kafka streams example KStreamBuilder builder = new KStreamBuilder(); KStream<String, String> source = builder.stream(“demo-topic”); KafkaStreams streams = new KafkaStreams(builder, props); streams.start(); There is topology hidden in kstreambuilder KStreamBuilder kafka-streams-0.10.2.1-sources.jar!/org/apache/kafka/streams/kstream/KStreamBuilder.java public class KStreamBuilder extends TopologyBuilder { public […]

  • Tidb binlog source reading series (7) drainer server introduction

    Time:2020-9-14

    Author: Huang Jiahao Next, we introduce how to synchronize the drainer / server from the previous directory to the system. We mainly introduce the functions of the drainer / server, which are used to synchronize the drainer / server. Start the drainer server The start logic of drainer server is mainly implemented in two functions: […]