TsgcWSPClient_Kafka › Events › OnKafkaRebalance
Fires when the consumer group is (re)assigned.
property OnKafkaRebalance: TsgcKafkaRebalanceEvent;
// procedure(Sender: TObject; const aGroupId, aMemberId: string; aGenerationId: Integer) of object
—
Fires when the consumer group is (re)assigned, after JoinGroup/SyncGroup when partitions are assigned to this member.
procedure TForm1.KafkaRebalance(Sender: TObject; const aGroupId, aMemberId: string;
aGenerationId: Integer);
begin
Log(Format('Rebalance group=%s member=%s generation=%d',
[aGroupId, aMemberId, aGenerationId]));
end;