Expected Behavior
Get the Topology from StreamsBuilderFactoryBean without starting the streams engine. Topology have to be created with properties and KafkaStreamsInfrastructureCustomizer and all futures updated if any.
It is necessary to run the tests with Kafka TopologyTestDriver.
Current Behavior
I can inject the StreamsBuilder, but I then I need to create and initialize the topology manually.
Context
Manual work around:
@Autowired
private StreamsBuilder streamBuilder;
@Autowired
private KafkaStreamsConfiguration streamConfig;
@Autowired
private KafkaStreamsInfrastructureCustomizer infrastructureCustomizer;
///....
Topology topology = streamBuilder.build(streamConfig.asProperties());
infrastructureCustomizer.configureTopology(topology);
But of course, it aligned with current version of StreamsBuilderFactoryBean only.