kafka_close()

Description:

Close a Consumer connection.

Syntax:

kafka_close (fd) 

Note:

The external library function (See External Library Guide) closes a Consumer connection to release resources.

Parameter:

fd

A connection object

Example:

 

A

 

1

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

Connect to Kafka server.

2

=kafka_close(A1)

Close connection to Kafka server.