Skip to content

KafkaItemWriter should wait for results of kafkaTemplate.sendDefault call #3773

Closed
@jbotuck

Description

@jbotuck

I noticed the kafkaItemWriter calls sendDefault (an asynchronous call) without checking the future returned by the call to confirm the data was actually sent. This seems bad to me. I would think it should call flush on the template after the batch is written and then check all the futures to confirm nothing went wrong.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions