Learn R Programming

rkafka (version 1.4)

rkafka.closeProducer: KAFKA producer shutdown

Description

This function closes the KAFKA producer

Usage

rkafka.closeProducer(producer)

Value

Doesn't return anything

Arguments

producer

Producer which is to be terminated Required:Mandatory Type:Producer

Author

Shruti Gupta

Examples

Run this code
if (FALSE) {
producer1=rkafka.createProducer("127.0.0.1:9092")
rkafka.closeProducer(producer1)
}

Run the code above in your browser using DataLab