Custom Partitioners
See original GitHub issuethis is a frequently requested feature. librdkafka now provides a built in partitioner that is compatible with the java client partitioner: murmur2_random
, but there are other use cases for a custom partitioner. we plan to implement this by adding a ConfigureTopics
method to the producer which will have the restriction that it must be called before the topic is first used. This method will take a config dictionary, where one of the properties that can be set is a partitioner delegate.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Writing Custom Partitioner for Apache Kafka
Apache Kafka provides an interface called Partitioner. This interface has three methods that we need to override for writing custom partitioner in Kafka....
Read more >Custom Partitioning an Apache Spark DataSet
Spark provides an option to create a “custom partitioner” where one can apply the logic of data partitioning on RDDs based on custom...
Read more >Custom Partitioners for PLINQ and TPL
PLINQ and the Task Parallel Library (TPL) provide default partitioners that work transparently when you write a parallel query or ForEach loop.
Read more >Apache Kafka Foundation Course - Custom Partitioner
Custom Kafka Partitioner ... We need to create our class by implementing Partitioner Interface. Your custom partitioner class must implement three methods from ......
Read more >Custom Partitioner in Kafka: Let's Take a Quick Tour!
In this article, we discuss how to create a custom partitioner in Apache Kafka in a few, short steps.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
have a look at the integration tests for example use: https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/test/Confluent.Kafka.IntegrationTests/Tests/Producer_CustomPartitioner.cs
any news on this feature?