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 2020/06/17 19:58:00 UTC

[GitHub] [pulsar] trexinc opened a new issue #7293: Non partitioned topic auto created when auto creation is enabled only for partitioned topics (specific scenario)

trexinc opened a new issue #7293:
URL: https://github.com/apache/pulsar/issues/7293


   Pulsar 2.5.2.
   
   A non partitioned topic exists: internal/test/test
   A producer and a consumer are connected to this topic.
   
   Now we do the following:
   pulsar-admin namespaces set-auto-topic-creation -d -t non-partitioned internal/test
   pulsar-admin topics delete internal/test/test -f
   pulsar-admin namespaces set-auto-topic-creation -e -t partitioned -n 3 internal/test
   
   I expect now that a partitioned topic will be created once the publisher and consumer reconnect, but a regular topic is created. 
   
   This happens even if I manually create the partitioned topic before enabling auto creation (then both non-partitioned and partitioned with the same name get created and the consumer and publisher continue to be connected to the non partitioned)


----------------------------------------------------------------
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] trexinc commented on issue #7293: Non partitioned topic auto created when auto creation is enabled only for partitioned topics (specific scenario)

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


   To give more details it seems that it happens because of the publishers. Consumers get reconnected to the partitioned topic, but the publisher reconnects and somehow recreates the non-partitioned topic


----------------------------------------------------------------
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] trexinc commented on issue #7293: Non partitioned topic auto created when auto creation is enabled only for partitioned topics (specific scenario)

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


   Of course if I stop the publisher, delete the non-partitioned topic and then start the publisher - all is ok.


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