You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/04/30 04:42:24 UTC

[GitHub] [pulsar] yangou opened a new issue #10449: Topic auto creation won't create partitioned topics if client connects to proxy.

yangou opened a new issue #10449:
URL: https://github.com/apache/pulsar/issues/10449


   **Describe the bug**
   
   Configured the namespace to enable topic auto-creation,  with partitioned topic type by default. 
   If your consumer/producer are directly connected to broker, your topic will be created corrected with default number of partitions.
   If your consumer/producer are connected through the pulsar proxy, discovery node, then the topic is created as none-partitioned one.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Setup your pulsar cluster with proxy in front of your brokers.
   2. Create a new namespace with the below configuration:
   
   ```
   autoTopicCreationOverride:
     allowAutoTopicCreation: true
     topicType: partitioned
     defaultNumPartitions: 16
   autoSubscriptionCreationOverride:
     allowAutoSubscriptionCreation: true
   ```
   
   3. Use either java/go client to connect to pulsar proxy. Produce a message to an non-exist topic of that namespace.
   
   **Expected behavior**
   A new topic created with 16 parititons
   
   


-- 
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:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on issue #10449: Topic auto creation won't create partitioned topics if client connects to discovery node.

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #10449:
URL: https://github.com/apache/pulsar/issues/10449#issuecomment-1058890812


   The issue had no activity for 30 days, mark with Stale label.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org