kafka_close()

Description:

Close a Consumer connection.

Syntax:

kafka_close (fd)   

Note:

The function closes a Consumer connection to release resources.

Parameter:

fd

A consumer object

Example:

 

A

 

1

=kafka_subscribe("D:/kafka_string.properties";"topic-test";"String","byte[]")

Connect to Kafka server

2

=kafka_close(A1)

Close connection to Kafka server