Tag:processing unit

  • Define the processor of Kafka streams


    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-!/org/apache/kafka/streams/kstream/KStreamBuilder.java public class KStreamBuilder extends TopologyBuilder { public […]

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


    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: […]