TsgcWSPClient_Kafka › Methods

TsgcWSPClient_Kafka Methods

Public methods, grouped by purpose.

Producer

NameDescription
ProducePublishes a string record to a topic.
ProduceBytesPublishes a binary (TBytes) record to a topic.
ProduceMessagesPublishes a batch of records to a partition.

Consumer

NameDescription
SubscribeSubscribes to one or more topics.
UnsubscribeLeaves the group and stops consuming the subscribed topics.
PollFetches available records, waiting up to a timeout.
FetchMessagesReads records from a topic/partition starting at an offset, without a consumer group.
CommitSyncSynchronously commits the current consumed offsets for the consumer group.
CommitOffsetCommits a specific offset for a topic/partition in the consumer group.

Offsets

NameDescription
GetEarliestOffsetReturns the earliest available offset for a topic/partition.
GetLatestOffsetReturns the latest available offset for a topic/partition.
GetCommittedOffsetReturns the committed offset for a topic/partition in the consumer group.

Admin

NameDescription
CreateTopicCreates a new topic on the broker.
DeleteTopicDeletes an existing topic from the broker.
GetMetadataRetrieves cluster, topic and partition metadata.
ListGroupsLists the consumer groups known to the broker.
DescribeGroupsDescribes the members and state of one or more consumer groups.
GetApiVersionsRetrieves the API versions supported by the broker.