jiazhai commented on issue #5657: [CLIENT SDK] Absense of MessageRouter support 
in python
URL: https://github.com/apache/pulsar/issues/5657#issuecomment-553711234
 
 
   Here is a detailed define in python:
   ```
      def create_producer(self, topic,
                           producer_name=None,
                           schema=schema.BytesSchema(),
                           initial_sequence_id=None,
                           send_timeout_millis=30000,
                           compression_type=CompressionType.NONE,
                           max_pending_messages=1000,
                           max_pending_messages_across_partitions=50000,
                           block_if_queue_full=False,
                           batching_enabled=False,
                           batching_max_messages=1000,
                           batching_max_allowed_size_in_bytes=128*1024,
                           batching_max_publish_delay_ms=10,
                           
message_routing_mode=PartitionsRoutingMode.RoundRobinDistribution,   < ===
                           properties=None,
                           ):
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to