Commit Graph

1515 Commits

Author SHA1 Message Date
Oleg Zhurakousky
1e2aec68ab GH-2006 Add special handling of KafkaNull to SmartMessageMethodArgumentResolver 2020-07-19 18:37:50 +02:00
Ahian Zhang
632c57bcf3 Update preface.adoc
fix the picture does not show
2020-07-15 10:06:05 +02:00
Jay Bryant
6297fb2047 Wording changes
Replacing some terms
2020-07-15 10:05:43 +02:00
Oleg Zhurakousky
839e0267f7 Fix Spring Integration DSL calls
upgrade reactor version
2020-07-15 10:01:20 +02:00
Soby Chacko
725d60bdd4 GH-1998: StreamBridge API and conversion logic.
When native encoding is enabled, the StreamBridge API still tries
to convert using the default converter causing runtime exceptions.

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/1998
2020-07-02 12:05:11 -04:00
Mark Heckler
455ace12b6 Merge pull request #1993 from mkheck/master
Fixed various small typos/ambiguities in docs
2020-07-02 08:04:36 -05:00
Mark Heckler
f9f303c5f7 Fixed various small typos/ambiguities in docs 2020-06-30 10:51:17 -05:00
David Turanski
9d9dbb3ddd Provide no-op AcknowledgementCallback implementation if MessageHeader is not present and Add no-op callback to TestChannelBinder MessageSource.
Resolves #1988
2020-06-22 14:00:40 +02:00
Oleg Zhurakousky
55b9f541fb GH-1984 Fix applicationMetrics initialization
Resolves #1984
2020-06-22 11:09:19 +02:00
Oleg Zhurakousky
10fc8dea30 GH-1937 Remove error handling from reactive function bootstrap
Resolves #1937
2020-06-17 15:54:56 +02:00
Oleg Zhurakousky
9aa6eab026 GH-1936 Add operations to clear destinations queues to OutputDestination
Resolves #1936
2020-06-17 15:21:08 +02:00
Oleg Zhurakousky
9d5679ae1d GH-1966 Ensure dynamic destination property works for Messages wrapped as iterable/array types
Resolves #1966
2020-06-17 15:08:13 +02:00
Oleg Zhurakousky
9d37f48028 GH-1944 Add test to validate Supplier with collections of POJOs
Resolves #1944
2020-06-17 08:38:48 +02:00
Soby Chacko
ac833103a0 Adding junit-vintage dependency for junit4 tests 2020-06-15 17:24:47 -04:00
Oleg Zhurakousky
d38dddbf62 GH-1979 Fix SpelConverter registration for child context
Basically the code was already fixed and working for Spel properties in multi-binder configuration. However the actual code was included in a wrong block and because of it was working conditionally based on an unrelated condition. This fixes it

Resolves #1979
2020-06-11 17:07:14 +02:00
Oleg Zhurakousky
a89edd6121 GH-1973 Fix test binder to ensure it does not duplicate messages
added test that reproduced and this validated the issue after it was fixed
as a side work some tests were migrated to junit 5

Resolves #1973
2020-06-11 16:50:29 +02:00
Marcin Grzejszczak
a0ca3f57c1 Migrated to new documentation generation 2020-06-08 18:34:45 +02:00
Marcin Grzejszczak
7679d00b33 Changed packaging to jar 2020-06-08 17:12:41 +02:00
Oleg Zhurakousky
5867636d17 GH-1977 Add failure when consumer concurrency is > 1 for reactive consumers
Providing that project reactor maintains it's own concurrency mechanisms, using stream's concurrency setting can lead to unexpected results including loss of messages.
This fixes it by disallowing concurrency setting when reactive consumers are used.

Resolves #1977
2020-06-04 11:28:27 +02:00
Oleg Zhurakousky
a8f8a1659e GH-1978 Fix dynamic destination resolutino for reactive function
Resolves #1978
2020-06-04 09:50:59 +02:00
Oleg Zhurakousky
2337646a66 Fix imperative function|consumer composition 2020-06-03 17:09:11 +02:00
Oleg Zhurakousky
68e2c0d8ce Update s-c-function to 3.1.0-SNAPSHOT 2020-06-03 15:13:42 +02:00
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