Skip to content

Support @SendTo (replying) for log-compacted topics #725

@nyilmaz

Description

@nyilmaz

Currently MessagingMessageListenerAdapter#sendResponse(Object result, String topic, @Nullable Object source) method is not setting key before sending and causes CorruptRecordException as stated here.

Workaround is to write a ProducerInterceptor and add it to producer config like;

extended.put(ProducerConfig.INTERCEPTOR_CLASSES_CONFIG, List.of(KeySetterProducerInterceptor.class));

Planning to support this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions