聊聊MaxwellKafkaPartitioner
序 本文主要研究一下MaxwellKafkaPartitioner MaxwellKafkaPartitioner maxwell-1.25.1/src/main/java/com/zendesk/maxwell/producer/partitioners/MaxwellKafkaPartitioner.java public class MaxwellKafkaPartitioner extends AbstractMaxwellPartitioner { HashFunction hashFunc; public MaxwellKafkaPartitioner(String hashFunction, String partitionKey, String csvPartitionColumns, String partitionKeyFallback) { super(partitionKey, csvPartitionColumns, partitionKeyFallback); int MURMUR_HASH_SEED = 25342; switch (hashFunction) { case "murmur3": this.hashFunc = new HashFunctionMurmur3(MURMUR_HASH_SEED); break; case "default