2020-04-06 15:46:55 UTC - Michael Scott: Not sure if this is the best place to 
discuss this but in the C bindings for C++ library when allocating a memory 
e.g. here: 
<https://github.com/apache/pulsar/blob/master/pulsar-client-cpp/lib/c/c_Message.cc#L23>,
 it would be nice to wrap the `new` call with `try-catch` block to catch the 
`std::bad_alloc` and return NULL. Problem with this is that a C program cannot 
catch an exception so a bad allocation would result in a crash.
----
2020-04-06 16:04:14 UTC - steven meadows: @steven meadows has joined the channel
----
2020-04-06 16:08:54 UTC - Dhaval Kotecha: @Dhaval Kotecha has joined the channel
----
2020-04-06 16:23:19 UTC - Sijie Guo: @Michael Scott yes this is the right 
channel to discuss development related issues.
----
2020-04-06 16:23:36 UTC - Sijie Guo: Can you submit a pull request to address 
this problem?
----
2020-04-06 16:24:26 UTC - Sijie Guo: The Apache Pulsar 2.5.1 Candidate 1 is now 
out for voting, please help verify and vote. 
<https://lists.apache.org/thread.html/rd0781410d7e465cc2c34c04797e6da8079458985b9d3658c8f19ea33%40%3Cdev.pulsar.apache.org%3E>
----
2020-04-06 16:24:52 UTC - Sijie Guo: @Sijie Guo set the channel topic: The 
Apache Pulsar 2.5.1 Candidate 1 is now out for votes, please help verify and 
vote. 
<https://lists.apache.org/thread.html/rd0781410d7e465cc2c34c04797e6da8079458985b9d3658c8f19ea33%40%3Cdev.pulsar.apache.org%3E>
----

Reply via email to