Skip to content

Rename GroupCoordinatorRequest to FindCoordinatorRequest #1630

Closed
@jeffwidman

Description

@jeffwidman

In Kafka 0.11, the GroupCoordinatorRequest / GroupCoordinatorResponse structs were renamed to FindCoordinatorRequest / FindCoordinatorResponese as part of KIP-98.

So the following need updating:

class GroupCoordinatorRequest_v1(Request):
API_KEY = 10
API_VERSION = 1
RESPONSE_TYPE = GroupCoordinatorResponse_v1
SCHEMA = Schema(
('coordinator_key', String('utf-8')),
('coordinator_type', Int8)
)

class GroupCoordinatorResponse_v1(Response):
API_KEY = 10
API_VERSION = 1
SCHEMA = Schema(
('error_code', Int16),
('error_message', String('utf-8')),
('coordinator_id', Int32),
('host', String('utf-8')),
('port', Int32)
)

This should be straightforward as currently the v1 version is not used by any of the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions