DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
Pre-KIP-1313 - broker does not expect ClientInstanceId in request header and ignores it
Client sends | Broker responds | Notes |
GetTelemetrySubscriptions v0 request.ClientInstanceId = 0 | response.ClientInstanceId = UUID-B response.ErrorCode = NONE | This is KIP-714 initial Client is requesting a new client instance ID from the broker. The client will henceforth use UUID-B for client telemetry. |
GetTelemetrySubscriptions v0 request.ClientInstanceId = UUID-R | response.ClientInstanceId = 0 response.ErrorCode = NONE | This is KIP-714 non-initial The client is using UUID-R for client telemetry. |
Post-KIP-1313 - broker is aware of optional ClientInstanceId in request header
Client sends | Broker responds | Notes |
GetTelemetrySubscriptions v0 header.clientInstanceId not present or 0 request.ClientInstanceId = 0 | response.ClientInstanceId = UUID-B response.ErrorCode = NONE | This is KIP-714 initial The client is requesting a new client instance ID from the broker. The client will henceforth use UUID-B for client telemetry. |
GetTelemetrySubscriptions v0 header.ClientInstanceId not present or 0 request.ClientInstanceId = UUID-R | response.ClientInstanceId = 0 response.ErrorCode = NONE | This is KIP-714 non-initial The client is using UUID-R for client telemetry. |
GetTelemetrySubscriptions v0 header.ClientInstanceId = UUID-H request.ClientInstanceId = UUID-H | response.ClientInstanceId = 0 response.ErrorCode = NONE | This is KIP-714 The client is using UUID-H for request headers and client telemetry. This is what we expect from the Apache Kafka Java client after this KIP. |
GetTelemetrySubscriptions v0 header.ClientInstanceId = UUID-H request.ClientInstanceId = 0 | response.ErrorCode = INVALID_REQUEST | This is not allowed. If a client sends UUID-H in the request header, the request client instance ID must also be UUID-H. After this KIP, the client generates the client instance ID and does not ask the broker to do so. |
GetTelemetrySubscriptions v0 header.ClientInstanceId = UUID-H request.ClientInstanceId = UUID-R≠UUID-H | response.ErrorCode = INVALID_REQUEST | This is not allowed. If a client sends UUID-H in the request header, the request client instance ID must also be UUID-H. |
In summary, for GetTelemetrySubscriptions v0, here are the combinations:
...