Example code was not compiling properly
This small changes make the examples compile properly in Debian after installing the libraries from the .deb packages.
@@ -324,6 +324,8 @@ using namespace pulsar;
int main() {
Client client("pulsar://localhost:6650");
+ Producer producer;
+
Result result = client.createProducer("persistent://public/default/my-topic", producer);
if (result != ResultOk) {
std::cout << "Error creating producer: " << result << std::endl;
@@ -364,6 +366,7 @@ Without this configuration, the result code `ResultProducerQueueIsFull` is passe
```c++
#include <pulsar/Client.h>
#include <thread>
+#include <atomic>
using namespace pulsar;
