...
New versions of existing network protocol protocol DeleteTopicsRequest
and and DeleteRecordsRequest
will be added, to add a validate_only flag.
New versions of existing network protocol protocol DeleteTopicsResponse
and and DeleteRecordsResponse
will be added to include an error message.
...
- On topic creation, i.e. when processing a
CreateTopicsRequest
- On topic modification
- Change in topic config, ie. when processing
AlterConfigsRequest
, for topic configs (this change done as part of this KIP). - Adding partitions to topics, i.e. when processing a
CreatePartitionsRequest
(see KIP-195, but this change done as part of this KIP) - Reassigning partitions to brokers, and/or changing the replication factor when processing
ReassignPartitionsRequest
(see as part of KIP-179)
- Change in topic config, ie. when processing
- On topic deletion, i.e. when processing a
DeleteTopicsRequest
(this change done as part of this KIP). - On message deletion, i.e. when processing a
DeleteRecordsRequest
(this change done as part of this KIP).
Deprecate existing policies
...
It will be a configuration-time error if both create.topic.policy.class.name
and topic.management.policy.class.name
are used at the same time, or both alter.config.policy.class.name
and topic.
are used at the same time.management
.policy.class.name
...
No Format |
---|
DeleteTopics Response (Version: 2) => throttle_time_ms [topic_error_codes] throttle_time_ms => INT32 topic_error_codes => topic error_code error_message topic => STRING error_code => INT16 error_message => NULLABLE_STRING |
Existing Old versions of the DeleteTopics resonse will be able to have the DeleteTopicsResponse
will use a UNEXPECTED_SERVER_ERROR error_code
s with value instead of POLICY_VIOLATION so as to not break clients.
The documentation for AdminClient.deleteTopics()
will be updated mention the possibility of PolicyViolationException
from the DeleteTopicsResult
methods.
...
No Format |
---|
DeleteRecords Response (Version: 0) => throttle_time_ms [topics] throttle_time_ms => INT32 topics => topic [partitions] topic => STRING partitions => partition low_watermark error_code error_message partition => INT32 low_watermark => INT64 error_code => INT16 error_message => NULLABLE_STRING |
Existing versions of the DeleteRecords resonse will be able to have the DeleteRecordsResponse
will use a UNEXPECTED_SERVER_ERROR error_code
s with value instead of POLICY_VIOLATION so as to not break clients.
The documentation for AdminClient.deleteRecords()
(being added by KIP-204) will be updated mention the possibility of PolicyViolationException
from the DeleteRecordsResult
methods.
...