, The use of rpm yum command and the meaning of parameters. 2. Upload the image to the virtual machine to build a local yum source. 3. The meaning of each parameter of the chown chomd command. 4. How to use the fdisk partd hard disk partition command? 5. In your own virtual

1. Use of rpm, yum commands, parameter meanings (1) The use of common rpm commands and the meaning of parameters Install a software package: rpm -i package.rpm: Install a software package. parameter: -i: Install the software package. –nodeps: Ignore dependencies. –force: Force installation even if the package is already installed. Upgrade software package: rpm -U […]

Kafka – A comprehensive guide to 3.x Kafka producer partitioning techniques

Article directory OverView DefaultPartitionerDefaultPartitioner use Strategy implementation Code When sending data to a specified partition, for example: send all messages to partition 0. Consumer partition allocation when partition is not specified but key is present Do not specify Partition or partition key. Custom partitioner OverView When the message is sent to the broker through the […]

Build local machine yum source, chown command, hard disk partition, virtual machine adds hard disk

Linux commands: (1) Linux yum command yum (Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and RedHat and SUSE. Based on RPM package management, RPM packages can be automatically downloaded and installed from designated servers, dependencies can be automatically processed, and all dependent software packages can be installed at once, eliminating […]

Linux uses Swap partition (***)

Linux uses Swap partition (***) Liunx method of adding new hard disk and partition (***) How to add a file swap partition (swap) in Linux system – simple version Linux partition expansion (root partition expansion, SWAP partition expansion, mounting new partitions as directories) ————————————————– ————- Reference: Linux partition expansion (root partition expansion, SWAP partition expansion, […]

Weekly competition 368 (simulation, suffix decomposition, enumeration + mathematics, preprocessing + partitioned DP)

Article directory Weekly competition 368 [100106. Elements and Minimum Mountain Triplets I](https://leetcode.cn/problems/minimum-sum-of-mountain-triplets-i/) simulation [100114. Elements and Minimum Mountain Triplets II](https://leetcode.cn/problems/minimum-sum-of-mountain-triplets-ii/) prefix and suffix decomposition [100097. Minimum number of groups to create a valid assignment](https://leetcode.cn/problems/minimum-number-of-groups-to-create-a-valid-assignment/) Enumeration + brain twister [6920. Get the minimum number of modifications to K semi-palindromes](https://leetcode.cn/problems/minimum-changes-to-make-k-semi-palindromes/) Preprocessing + Partitioned DP Weekly Competition 368 […]

vmware installs Rocky9 (custom partition installation) and turns on monitoring

1. Download image Visit the official website and download the DVD image Download Rocky | Rocky Linuxhttps://rockylinux.org/download 2. Create a new vmware virtual machine 1. Try to choose vmware17 for vmware 2. Next step 3. Install later 4. Select system type: red hat9 5. Customize the installation location 6. According to the computer configuration, select […]

Linux disk partitioning command line tool competition, which one should you choose?

Article directory Detailed explanation of disk partition commands 1 Introduction 1.1 Overview of disk partitions 1.2 The role of disk partitioning 1.3 Principles of disk partitioning 2. fdisk command 2.1 Introduction to fdisk command 2.2 Install and start fdisk 2.3 Basic usage 2.4 Create partition 2.5 Delete partition 2.6 View partition information 3. parted command […]

An article teaches you how to use SpringBatch to read the database using partitions

Spring Batch supports using partitions to read data from the database and process it in parallel. Before talking about SpringBatch using partitions to read the database, let’s first introduce EnableBatchProcessing. Table of Contents 1. @EnableBatchProcessing 2. Spring Batch uses partitions to read the database 1. @EnableBatchProcessing The @EnableBatchProcessing annotation will automatically configure a data source […]

Centos7 installs oracle19c (with GUI) (swap partition is at least 16G)

1. Download Oracle 19c Download the corresponding version from Oracle’s official website: https://download.oracle.com/otn/linux/oracle19c/190000/LINUX.X64_193000_db_home.zip 2. Basic environment configuration Turn off firewall systemctl stop firewalled.service systemctl disable firewalled.service Turn off selinux vim /etc/selinux/config selinux=encourceing changed to disabled 3. Create an oracle account: useradd oracle passwd oracle –Create oinstall group and dba group groupadd oinstall groupadd dba User […]

Deciphering the partitioning strategy of Kafka topics: the key to improving real-time data processing

?Creator: Chen Shuyu Personal homepage: Chen Shuyu’s personal homepage Chen Shuyu’s personal community, you are welcome to join: Chen Shuyu’s community Article directory 1. Overview of partitioning strategies for Kafka topics 1.1 What is the partitioning strategy of a Kafka topic? 1.2 Why is partitioning strategy important? 2. Kafka default partition strategy 2.1 Round-Robin partition […]