pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] firefeifei commented on issue #7327: 2.6.0 cpp client crash
Date Wed, 24 Jun 2020 06:57:06 GMT

firefeifei commented on issue #7327:
URL: https://github.com/apache/pulsar/issues/7327#issuecomment-648631698

       m_conf = pulsar_client_configuration_create();
       pulsar_client_configuration_set_logger(m_conf, PulsarProducer::pulsar_logger, (void*)this);
       m_client = pulsar_client_create(service_url.c_str(), m_conf);
       pulsar_producer_configuration_t* producer_conf = pulsar_producer_configuration_create();
       pulsar_producer_configuration_set_batching_enabled(producer_conf, 0);
       pulsar_producer_configuration_set_max_pending_messages(producer_conf, 1000000);
       pulsar_result err = pulsar_client_create_producer(m_client, topic.c_str(), producer_conf,
        if (err != pulsar_result_Ok) {
          return NULL;

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:

View raw message