nqf commented on issue #7286:
URL: https://github.com/apache/pulsar/issues/7286#issuecomment-645765105


   > > I didn't use pulsar admin, but `producer.send(msg);` can work
   > 
   > Yes, `producer.send` work without any problem but the broker doesn't 
auto-create new tenant and namespace. You can check pulsar logs.
   
   ```
   13:29:00.545 [pulsar-io-50-29] INFO  
org.apache.pulsar.broker.service.ServerCnx - New connection from 
/127.0.0.1:58352
   13:29:00.548 [pulsar-io-50-29] INFO  
org.apache.pulsar.broker.service.ServerCnx - 
[/127.0.0.1:58352][persistent://prop/r1/ns1/my-topic] Creating producer. 
producerId=0
   13:29:00.548 [pulsar-io-50-29] WARN  
org.apache.pulsar.broker.service.BrokerService - No autoTopicCreateOverride 
policy found for persistent://prop/r1/ns1/my-topic
   13:29:00.549 [ForkJoinPool.commonPool-worker-9] INFO  
org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:58352] 
persistent://prop/r1/ns1/my-topic configured with schema false
   13:29:00.550 [ForkJoinPool.commonPool-worker-9] INFO  
org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:58352] Created new 
producer: 
Producer{topic=PersistentTopic{topic=persistent://prop/r1/ns1/my-topic}, 
client=/127.0.0.1:58352, producerName=standalone-5-118, producerId=0}
   13:29:00.564 [pulsar-io-50-29] INFO  
org.apache.pulsar.broker.service.ServerCnx - Closed connection from 
/127.0.0.1:58352
   13:29:01.572 [pulsar-web-67-27] INFO  org.eclipse.jetty.server.RequestLog - 
127.0.0.1 - - [18/Jun/2020:13:29:01 +0900] "GET 
/admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false 
HTTP/1.1" 200 1165 "-" "Pulsar-Java-v2.5.2" 1
   
   ```


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


Reply via email to