Skip to content

Commit

Permalink
Fix format violation in the TwitterGeoFunctionConfiguration
Browse files Browse the repository at this point in the history
* Resolve TODO in the `DebeziumReactiveConsumerConfiguration`
  • Loading branch information
artembilan committed Dec 19, 2024
1 parent c597124 commit 4024f19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ public Function<GeoQuery, List<Place>> twitterReverseGeocodeFunction(Twitter twi
@Bean
public Function<Message<?>, Message<byte[]>> twitterGeoFunction(
Function<Message<?>, GeoQuery> messageToGeoQueryFunction,
Function<GeoQuery, List<Place>> twitterPlacesFunction,
Function<Object, Message<byte[]>> managedJson) {
Function<GeoQuery, List<Place>> twitterPlacesFunction, Function<Object, Message<byte[]>> managedJson) {

return messageToGeoQueryFunction.andThen(twitterPlacesFunction).andThen(managedJson);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ public Publisher<Message<byte[]>> debeziumPublisher(Builder<ChangeEvent<byte[],

DebeziumMessageProducerSpec debeziumMessageProducerSpec = Debezium.inboundChannelAdapter(debeziumEngineBuilder)
.enableEmptyPayload(supplierProperties.isEnableEmptyPayload())
.headerNames(supplierProperties.getHeaderNamesToMap())
// TODO until Spring Integration 6.3.0-M2
.autoStartup(false);
.headerNames(supplierProperties.getHeaderNamesToMap());

if (debeziumMessageProducerSpecComponentCustomizer != null) {
debeziumMessageProducerSpecComponentCustomizer.customize(debeziumMessageProducerSpec);
Expand Down

0 comments on commit 4024f19

Please sign in to comment.