Migrate TaskMetadata and ThreadMetadata

Proprietary

Migrates TaskMetadata and ThreadMetadata from org.apache.kafka.streams.processor package to org.apache.kafka.streams package, and updates TaskMetadata.taskId() calls to include .toString() for String compatibility.

io.moderne.kafka.streams.MigrateTaskAndThreadMetadata
mod run . --recipe=io.moderne.kafka.streams.MigrateTaskAndThreadMetadata

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change type org.apache.kafka.streams.processor.TaskMetadata to org.apache.kafka.streams.TaskMetadata
  2. Change type org.apache.kafka.streams.processor.ThreadMetadata to org.apache.kafka.streams.ThreadMetadata
  3. Migrate TaskMetadata.taskId() to return TaskId