kafka_close()

Description:

Close a Consumer connection.

Syntax:

kafka_close (fd)   

Note:

The external library function closes a Consumer connection to release resources.

Parameter:

fd

A consumer object

Example:

 

A

 

1

=kafka_open("D://kafka.properties";"topic-test")

Connect to Kafka server

2

=kafka_close(A1)

Close connection to Kafka server