xuesongxs commented on issue #13016:
URL: https://github.com/apache/pulsar/issues/13016#issuecomment-981661484


   In this way, not all attributes can be loaded directly through loadconf, but 
the pulsar document describes that this can be done, and the producer can load 
through loadconf.
   
   
   
   ***@***.***
    
   From: Qiang Zhao
   Date: 2021-11-29 21:36
   To: apache/pulsar
   CC: xuesongxs; Author
   Subject: Re: [apache/pulsar] Consumer: Failed to load config into existing 
configuration data (Issue #13016)
   You need to use Set collection in topicNames.
      Set<String> topicNames = Sets.newHashSet();
           topicNames.add("persistent://public/default/test-string1");
           config.put("topicNames", topicNames);
   —
   You are receiving this because you authored the thread.
   Reply to this email directly, view it on GitHub, or unsubscribe.
   Triage notifications on the go with GitHub Mobile for iOS or Android. 
   


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