Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To migrate from the String to TaskIdInfo in TaskId in TaskMetadata, we'll need to deprecate the existing taskId() getter method and add a TaskId () getter in its place. Unfortunately the appropriate name for this getter in the Kafka standard is just `taskId()` – which is already taken. We plan to introduce a temporary getter called `getTaskId()` for the deprecation cycle of the `String taskId()` API, and then once that is over we can migrate back to a `TaskId taskId()` getter and then deprecate the temporary getter. It's a bit awkward, but we feel it's better to leave things in the ideal state than to go out of the way to avoid deprecations, especially when it's just one relatively-uncommon method.

...