[Kafka] idempotent implementation of Kafka transactional

1. General Reprint: Idempotent real of Kafka transactional property Starting from 0.11.0, Apache Kafka supports a very large feature, that is, transactional support. In Kafka, transactional has three meanings: one is idempotent support; Second, transactional support; The third is the implementation of exactly once of Kafka Streams. In the a ...

Posted by linux_pickle on Thu, 27 Jan 2022 01:55:35 +0100

About getting started with the flow processing framework Flink

1. What is flick flink is a flow processing framework. Usually, the usage scenario is to consume kafka data and send it to other systems after grouping and aggregation. Grouping and aggregation are the core of flink. This paper only describes a single usage scenario. Stream data is equivalent to continuous data. The log data in kafka in produc ...

Posted by Roo on Wed, 26 Jan 2022 23:42:23 +0100

Kafka Study Notes

Kafka Study Notes install ellipsis The installation under linux is simply NIMA outrageous zooker. Change it Just open kafka's port Methodology of Kafka operation First, understand what message queuing is. There must be sender and receiver for the transmission of information If the sender and receiver receive messages synchronously, it will ...

Posted by mudi on Wed, 26 Jan 2022 08:16:43 +0100

Kafka Topic and Partition description

1: Topic Topic is the logical division of kafka messages, which can be understood as the name of a category; kafka classifies messages through topics, and different topics will be consumed by consumers subscribing to the topic. When there are so many messages in this topic that it takes a few T to save, because the messages will be saved to ...

Posted by thefarhan on Mon, 24 Jan 2022 03:07:10 +0100

Producer's realization logic kafka knowledge system 2

Is kafka a single message or a batch message? How does kafka send a single message? Is kafka sending messages in order? Under what circumstances may producers frequently use GC? Message sending logic — From God's perspective, the process of message sending. Producer design Consumption sending mechanism: 1) Serializer: serialized mess ...

Posted by pumaf1 on Sun, 23 Jan 2022 23:58:47 +0100

Install zookeeper, kafka, druid with docker to ingest data

All data in Druid is organized into segments, which are data files, usually up to millions of rows per segment. Loading data in Druid is called ingestion and includes reading data from the source system and creating segments based on that data. In most ingestion methods, loading data is done by the MiddleManager process. Druid data is stor ...

Posted by jmcc on Sat, 22 Jan 2022 06:30:48 +0100

The hardest core of the station, one million words strong liver, RocketMq source code is hot and updated~

@Override public void updateBrokerConfig(String brokerAddr, Properties properties) throws RemotingConnectException, RemotingSendRequestException, RemotingTimeoutException, UnsupportedEncodingException, InterruptedException, MQBrokerException { defaultMQAdminExtImpl.updateBrokerConfig(brokerAddr, properties); } @Override public ...

Posted by jtown on Fri, 21 Jan 2022 12:18:30 +0100

The hardest core of the station, one million words strong liver, RocketMq source code is hot and updated~

In this way, we have basically finished reading the Configuration class. This is a congestion model with a lot of content. Next, go back to NamesrvController. Under the Configuration class, the FileWatchService class is declared. From the outside, it should be a file reading service. Go in and have a look: org.apache.rocketmq.srvutil.File ...

Posted by jingcleovil on Thu, 20 Jan 2022 17:01:25 +0100

Kafka (component analysis integration springboot integration practice)

@[TOC] (Kafka (component building springboot integration practice)) Kafka (component building springboot integration practice) 1. Application scenario 1.1 kafka scenario Kafka was originally developed by LinkedIn in Scala and based on ZooKeeper. Now it has been donated to the Apache foundation. At present, Kafka has been positioned as a dis ...

Posted by Mercenary on Wed, 19 Jan 2022 00:45:41 +0100

The kafka environment operation process is built on linux (CentOS7), and the schemes are docker and docker compose

The kafka environment operation process is built on linux (CentOS7), and the schemes are docker and docker compose 1. Basic environment 1.1. yum source configuration Install source using alicloud cd /etc/yum.repos.d rename .repo .repo.bak *.repo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo curl -O ...

Posted by NevadaSam on Sat, 15 Jan 2022 06:37:13 +0100