18852996112 commented on issue #4240: c++ client too many files opens URL: https://github.com/apache/pulsar/issues/4240#issuecomment-491123150 > Error does not reproduce on MacOS with > > ```java > for (int i = 0; i < 100; i++) { > PulsarClient client = PulsarClient.builder() > .serviceUrl("pulsar://localhost:6650") > .build(); > > Consumer<byte[]> consumer = client.newConsumer() > .topic("my-topic") > .subscriptionName("test") > .subscribe(); > > client.close(); > } > ``` In my last testing, i create connection and destroy the connection further slowly. Then there's no that problem. I think the season is OS keep the connection for some time. thanks.
---------------------------------------------------------------- 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] With regards, Apache Git Services
