Commit Graph

1493 Commits

Author SHA1 Message Date
Soby Chacko
198f5eeae9 Update version to 3.1.0-SNAPSHOT 2020-06-02 13:58:20 -04:00
fonio
73a5e362b4 Minor typo
heck -> check
2020-06-01 15:41:16 +02:00
Guilherme Torres Castro
0613f25800 Fix wrong function name in the scatter example 2020-06-01 15:40:54 +02:00
Oleg Zhurakousky
52dad60337 GH-1950 Add scst_targetDestination header
The core framework does nothing with this header other then defining it. One can always use StreamBridge for general cases

Resolves #1950
2020-05-28 14:22:18 +02:00
Oleg Zhurakousky
55ae6b087d GH-1967 Fixed support for converting collection types
The main fix is actually in spring-cloud-function 417e54e0af
The changes here are mainly polishing and adjusting around function changes

Resolves #1967
2020-05-21 11:18:28 +02:00
Oleg Zhurakousky
6ef016367c Remove setting required groups 2020-05-18 16:44:23 +02:00
Guilherme Torres Castro
6a039a57e4 Remove duplicate property in documentation 2020-05-18 15:16:44 +02:00
Mayur Raiyani
c23392a8fd Update spring-cloud-stream.adoc 2020-05-18 15:16:20 +02:00
Oleg Zhurakousky
071ee4bcc5 Remove condition for creation of stream bridge function 2020-05-13 19:24:49 +02:00
Oleg Zhurakousky
4914f8d9a9 Remove internal dependency on BinderAwareChannelResolver
Removed dependency in FunctioinConfiguration on BinderAwareChannelResolver
Improved StreamBridge to only register single pass-thru function to facilitate output type conversion

polish
2020-05-12 20:33:34 +02:00
Oleg Zhurakousky
8008ccaab9 Set 'setRequiredGroups' in StreamBridge
This is set b y default for trully dynamic cases which are cases where source bindings such as 'spring.cloud.stream.source' were not created
2020-05-11 20:40:48 +02:00
Oleg Zhurakousky
b3988f52aa GH-1958 Improve caching of dynamic destinations
Added spring.cloud.stream.dynamic-destination-cache-size property

Resolves #1958
2020-05-11 14:48:33 +02:00
Oleg Zhurakousky
c21fc5934c polish 2020-05-08 15:49:24 +02:00
Oleg Zhurakousky
6bad57c02a Improve dynamic destination resolution
Added StreamBridge.sendLight method which effectively does everything that 'send' does but maintains full control as to what is being cached and how.
2020-05-08 14:47:25 +02:00
Gary Russell
c5c7145327 GH-1952: Pollable Source Error Handling
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/1952

Requeue if the error flow throws `RequeueCurrentMessageException`.

Resolves #1953
2020-05-07 11:26:00 +02:00
Oleg Zhurakousky
7cae7855cd Revert "TEMP downgrading boot to 2.3.0.RC1"
This reverts commit 0105c49c78.
2020-05-07 11:24:59 +02:00
Oleg Zhurakousky
dc68a89b8c Change s-c-function to 3.1.0.BS 2020-05-07 10:47:06 +02:00
Oleg Zhurakousky
0105c49c78 TEMP downgrading boot to 2.3.0.RC1 2020-05-06 15:36:00 +02:00
Oleg Zhurakousky
286c057a8e GH-1949 Fix logic to deal with multiple binder multi-initializatioin
Fixed logic which was creating an instance of every available binder configuration. This is primarily an issue for
Kafka Streams binder which as a module brings 3 different binder configurations - KTable, KStream, GlobalKTable.

Adding more log statements.

Resolves #1949
2020-05-05 17:25:18 -04:00
Oleg Zhurakousky
e856ca694d Remove dependency on javax.xml.bind
This is primarily to make it complient with JDK 11/13, plus we were only using it in one place for logging
2020-04-23 07:37:12 +02:00
Oleg Zhurakousky
e76960dbb6 GH-1938 Improve documentation on foreign event-driven sources
Resolves #1938
2020-04-08 17:07:23 +02:00
David Turanski
3715040ef4 Add applicationContextRunner method
Fix checkstyle errors

Resolves #1940
2020-04-08 14:19:57 +02:00
Oleg Zhurakousky
931fbde61b Fix docs links for binders 2020-04-08 14:09:19 +02:00
buildmaster
64d204f1d7 Going back to snapshots 2020-04-07 16:49:56 +00:00
buildmaster
6aadec6fc2 Update SNAPSHOT to 3.1.0.M1 2020-04-07 16:49:13 +00:00
Oleg Zhurakousky
89f095c274 Update maven wrapper 2020-04-07 18:24:20 +02:00
Oleg Zhurakousky
e70a3f2234 Upgraded s-c-function and reactor 2020-04-07 14:36:37 +02:00
Oleg Zhurakousky
81755865c8 GH-1941 Add ability to read content type as byte[]
Modified implementation of DefaultContentTypeResolver to ensure it can recognize content type header as byte[]

Resolves #1941
2020-04-07 08:06:03 +02:00
Marcin Grzejszczak
a2f3c87add Removed deployment skip from docs 2020-04-01 10:23:26 +02:00
Marcin Grzejszczak
85bffe377a Attaching the docs as zip 2020-04-01 10:21:59 +02:00
Oleg Zhurakousky
8a30fea67a GH-1924 Add support for dynamic destinations to StramBridge
Resolves #1924
2020-03-24 17:09:07 +01:00
Oleg Zhurakousky
ef6ba54d88 GH-1927 Add SpelConverter to child ConversionService
Resolves #1927
2020-03-24 12:20:55 +01:00
Oleg Zhurakousky
b45309372e GH-1932 Add support for propagating customizer to child context
Given that ListenerContainerCustomizer is reggistered with the parent context and for multi-binder or binder environment customization such context is not set as a parent to binder context beans such as ListenerContainerCustomizer were not visible. This fix copies ListenerContainerCustomizer(s) from parent context to child context for such cases.

Resolves #1932
2020-03-24 11:12:28 +01:00
Oleg Zhurakousky
d16acf6475 GH-1931 Enhance header propagation in StreamBridge
Given that StreamBridge is just a bridge and should honor whetever user sends through it, this fix ensures that message headers set by user are propagated

Resolves #1931
2020-03-23 16:30:45 +01:00
Oleg Zhurakousky
270d3b79f7 Update issue templates 2020-03-15 08:41:11 +01:00
Oleg Zhurakousky
7de0037627 Update issue templates 2020-03-15 08:13:55 +01:00
Oleg Zhurakousky
655e48ea3a Update issue templates 2020-03-15 08:13:13 +01:00
Oleg Zhurakousky
4e044ae06e Update issue templates 2020-03-15 08:08:21 +01:00
Oleg Zhurakousky
c254777da8 Update issue templates 2020-03-15 08:07:11 +01:00
Oleg Zhurakousky
639f0de771 Update issue templates 2020-03-15 08:04:26 +01:00
Oleg Zhurakousky
957976adfa Bump s-c-function to 3.0.4.B-S
Change docs reference of StreamBridgeUtils to StreamBridge
2020-03-09 20:11:53 +01:00
Soby Chacko
8b3b0815a4 Update s-c-build to 3.0.0 snapshot 2020-03-04 20:05:22 +01:00
Oleg Zhurakousky
3d941329e7 Put back producer property description 2020-03-02 17:53:11 +01:00
Oleg Zhurakousky
eee1b1385c GH-1920 Add MessageConverter filtering logic
This way we ensure that only custom converters and converters defined by stream are included
effectively eliminating the possibility of other auto-configuration interfering with their converters

Resolves #1920
2020-03-02 13:13:31 +01:00
Oleg Zhurakousky
ad7bf9563f GH-1919 Fix function+consumer composition
Ensured that when composing Function and Consumer no output binding is created. The initila fix was part of #1911 which addressed the reactive function/consumer combination. This fix does the same for imperative function/consumer combination

Resolves #1919
2020-03-02 09:58:36 +01:00
Oleg Zhurakousky
e52266c01f Fix typo 2020-02-28 04:48:07 +01:00
Oleg Zhurakousky
0debb8d64f GH-1912 Added support for non-reactive-source messaging bridge
Currently the use of reactive EmitterProcessor is the only way to connect foreign sources such as HTTP with spring-cloud-stream
The newly added StreamBridgeUtils class provides a simpler mechanism to brideg non-stream application with stream application without requiring reactor API while also honoring the same type conversion and partitioning contract used by functions

Added docs

Resolves #1912

Address PR comments

Resolves #1918
2020-02-27 18:13:26 +01:00
Oleg Zhurakousky
6d4ab48358 GH-1911 Fix support for Function<Flux, Mono<Void>>
Basically the Function<Flux, Mono<Void>> shoudl be treated as Consumer while allowing reference to the Flux so additional operations coudl be applied, but it will no longer result in creation of dummy output destination

Resolves #1911
2020-02-27 16:00:36 +01:00
Oleg Zhurakousky
58efbb1586 Polishing previous work 2020-02-26 19:47:27 +01:00
Oleg Zhurakousky
f25d37683f GH-1917 add missing support for composing reactive function
Added missing support for composing reactive function to an existing legacy source. Imperative functions already had such support
Added tests as well as minor refactoring/cleanup in FunctionConfiguration

Resolves #1917
2020-02-26 09:51:11 +01:00