thomas-turner opened a new issue, #21236:
URL: https://github.com/apache/pulsar/issues/21236

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Version
   
   OS: Ventura 13.5.2 on M1 Chip
   Pulsar: 3.1.0
   
   ### Minimal reproduce step
   
   - Create a `docker-compose.yml` and copy in the following:
       - ```yaml
         version: '3.8'
   
         services:
           pulsar:
             container_name: pulsar
             image: apachepulsar/pulsar:3.0.0
             ports:
               - "6650:6650"
               - "8080:8080"
               - "4181:4181"
             environment:
               - clusterName=local
               - authenticationEnabled=false
               - superUserRoles=admin
               - AWS_ACCESS_KEY_ID=accesskey
               - AWS_SECRET_ACCESS_KEY=secretkey
               - allowAutoTopicCreationType=partitioned
               - defaultNumPartitions=2
               - PULSAR_STANDALONE_USE_ZOOKEEPER=1
               - PULSAR_PREFIX_subscriptionPatternMaxLength=75
             command: >
               /bin/bash -c
               "bin/apply-config-from-env.py conf/standalone.conf
               && exec bin/pulsar standalone"
          ```
   - Run `docker compose up --build` in the same folder
   - Run `docker exec -it <container id> bash`
   - Run `cd bin`
   - Run `./pulsar-client consume -s example-sub "public/default/.*" --regex`
   - In a new terminal repeat the `docker exec` and `cd bin` steps
   - Run `./pulsar-admin topics create-partitioned-topic 
persistent://public/default/example-topic --partitions 2`
   - Run `./pulsar-admin topics subscriptions 
persistent://public/default/example-topic`
   
   ### What did you expect to see?
   
   I expect to see `example-sub` listed on the subscriptions for 
`example-topic` showing that the consumer has been notified of the new topic.
   
   ### What did you see instead?
   
   I see no subscriptions on the topic even after waiting a sufficient amount 
of time.
   
   ### Anything else?
   
   Restarting the consumer results in the topic being discovered.
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to