You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Payload(required = false) is a great thing during consuming of records that might be eventually Tombstone. But it does not work in a batch processing. Here is an example that does throw ClassCastException once Tombstone record received:
This is especially inconvenient with records represented by JSON, as you have to write additional workarounds to achieve the required functionality. Would be great to avoid any workarounds inside a business code by having support of @Payload as part of a batch processing inside of Spring FW.