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 2022/06/22 19:57:20 UTC

[GitHub] [pulsar] gantryyork opened a new issue, #16184: pulsar.Client() needs option to supress STDOUT

gantryyork opened a new issue, #16184:
URL: https://github.com/apache/pulsar/issues/16184

   **Is your feature request related to a problem? Please describe.**
   This isn't necessarily a problem, but requires a workaround
   
   **Describe the solution you'd like**
   Simply add
   client = pulsar.Client(ip, stdout=False)
   
   **Describe alternatives you've considered**
   Otherwise I have to manually supress stdout when I call pulsar.Client() or producer.send()
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


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

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


[GitHub] [pulsar] Abhiramkns commented on issue #16184: pulsar.Client() needs option to supress STDOUT

Posted by "Abhiramkns (via GitHub)" <gi...@apache.org>.
Abhiramkns commented on issue #16184:
URL: https://github.com/apache/pulsar/issues/16184#issuecomment-1531516616

   Hello guys, I would like to take up this bug. I'm new to this, so please help me out with which part of the code I should make changes to.


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


[GitHub] [pulsar] github-actions[bot] commented on issue #16184: pulsar.Client() needs option to supress STDOUT

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16184:
URL: https://github.com/apache/pulsar/issues/16184#issuecomment-1193039155

   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


[GitHub] [pulsar] Stellar1999 commented on issue #16184: pulsar.Client() needs option to supress STDOUT

Posted by "Stellar1999 (via GitHub)" <gi...@apache.org>.
Stellar1999 commented on issue #16184:
URL: https://github.com/apache/pulsar/issues/16184#issuecomment-1667679371

   I hope to try to solve this problem. Can anyone point me to this issue?


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


[GitHub] [pulsar] Stellar1999 commented on issue #16184: pulsar.Client() needs option to supress STDOUT

Posted by "Stellar1999 (via GitHub)" <gi...@apache.org>.
Stellar1999 commented on issue #16184:
URL: https://github.com/apache/pulsar/issues/16184#issuecomment-1673020101

   I am trying to see what will be printed on stdout when the producer sends a message, so I wrote code like this:
   `public class Producer {
   
     public static void main(String[] args) throws PulsarClientException {
       PulsarClient client = PulsarClient.builder()
           .serviceUrl("pulsar://localhost:6650")
           .build();
       org.apache.pulsar.client.api.Producer<String> producer = client.newProducer(Schema.STRING)
           .topic("my-topic")
           .create();
   
       // You can then send messages to the broker and topic you specified:
       producer.send("My message");
       producer.close();
       client.close();
     }
   }
   `
   However, I see nothing in stdout. Is there anything wrong here?


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