Versions Compared

Key

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

...

If a new record type, or new required fields are added, a lossy downgrade is possible. In this case, the snapshot generated by the controller will exclude new record types and will write metadata records at the downgraded version (thereby excluding new fields). By default, the controller should not perform this kind of downgrade since crucial metadata may be lost. The inclusion of the addition of --force  in the kafka-features.sh tool (and the corresponding ForceDowngrade  field to in UpdateFeaturesRequest) is meant to override this behavior. Using this example above, a lossy downgrade from version 5 to version 2 would mean that "Bar" records would be omitted from the snapshot.

...