TsgcWSPClient_KafkaMethods › Unsubscribe

Unsubscribe Method

Leaves the group and stops consuming the subscribed topics.

Syntax

procedure Unsubscribe;

Parameters

Remarks

Stops consuming the topics that were passed to Subscribe. When the client is part of a consumer group, it leaves the group so the broker can rebalance the remaining partitions among the other members. After calling this method, Poll no longer returns records until you subscribe again.

Example

oKafka.Unsubscribe;

Back to Methods