[−][src]Function pulsar_sys::pulsar_client_create_producer
pub unsafe extern "C" fn pulsar_client_create_producer(
client: *mut pulsar_client_t,
topic: *const c_char,
conf: *const pulsar_producer_configuration_t,
producer: *mut *mut pulsar_producer_t
) -> pulsar_result
Create a producer with default configuration
@see createProducer(const std::string&, const ProducerConfiguration&, Producer&)
@param topic the topic where the new producer will publish @param producer a non-const reference where the new producer will be copied @return ResultOk if the producer has been successfully created @return ResultError if there was an error