Skip to content

The PublisherIntegrationFlow does not take into account AbstractEndpoint when marks its components for autoStartup(false) #8950

Closed
@artembilan

Description

@artembilan

This way when we have a flow like this:

@Bean
	public Publisher<Message<byte[]>> debeziumPublisher(Builder<ChangeEvent<byte[], byte[]>> debeziumEngineBuilder) {
		return IntegrationFlow.from(Debezium.inboundChannelAdapter(debeziumEngineBuilder))
				.toReactivePublisher(true);
	}

That DebeziumMessageProducer starts producing messages immediately.
However expectations is to wait until subscription to that returned Publisher.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions