Commit Graph

1392 Commits

Author SHA1 Message Date
Oleg Zhurakousky
61a0c1dc9c GH-1870 Fixed destroy beans logic
- Fixed destroy bean logic in AbstractMessageChannelBinder to ensure that it only destroys beans that are 'reachable' (have bean definitions)

Resolves #1870
2019-12-11 17:09:19 +01:00
Oleg Zhurakousky
b06d6f9a0c GH-1866 Updated documentation to clear up binding names
Resolves #1866
2019-12-09 19:50:12 +01:00
Oleg Zhurakousky
b6f3bfbb53 GH-1865 Remove unecessary creation of function initializer
Togethere with a2dc34a160 commit this should
address the issues where functions are being bootstrapped when annotation-based configuration is present

Resolves #1865
2019-12-09 14:13:59 +01:00
Oleg Zhurakousky
355cb0c4f1 Fixed image links
removed flatten plugin
2019-12-06 10:16:22 +01:00
Oleg Zhurakousky
daa61500b1 Bumped function dependency to 3.0.1.BS 2019-12-06 09:25:16 +01:00
Oleg Zhurakousky
98b721ddf9 GH-1863 Add default keep-alive mechanism for reactive Supplier
Resolves #1863
2019-12-04 18:06:25 +01:00
Oleg Zhurakousky
e2467696b0 GH-1854 Fixed typo in the doc
Resolves #1854
2019-12-02 14:59:42 +01:00
Tyler Van Gorder
5d6136537b Fixing functional binding
The functional binding requires the binding to be "log-in-0" rather than "input"
2019-12-02 14:47:07 +01:00
Oleg Zhurakousky
74aee81028 GH-1855 Ensure propper application or PartitioningInterceptor
Ensure propper application or PartitioningInterceptor regardless of the functional or annotation-based programming model used

Resolves #1855
2019-12-02 13:38:35 +01:00
Oleg Zhurakousky
a2dc34a160 GH-1852 Fix issue with 'output' channel
- This fix addresses the issue where framework assumed the existance of 'output' channel where it is not always the case
 - It also addresses the binary relationship of annotation-based and functional model where you can use one or the other, meaning
 functions will not work with annotation-based bindings with the exception of composing to the existing output (e.g., existing legacy app)
 - It alos upgrades reactor to Dysprosium-SR1

 Resolves #1852
2019-12-02 12:03:37 +01:00
buildmaster
253f3d6547 Bumping versions to 3.0.1.BUILD-SNAPSHOT after release 2019-11-22 14:19:03 +00:00
buildmaster
8e5490d792 Going back to snapshots 2019-11-22 14:19:03 +00:00
buildmaster
814d008da5 Update SNAPSHOT to 3.0.0.RELEASE 2019-11-22 14:17:49 +00:00
Oleg Zhurakousky
6fdfa22c5e GH-1846 Update documentation on 'splittable' attribute of PollableBean
Resolves #1846
2019-11-22 14:38:58 +01:00
Oleg Zhurakousky
16af183df2 GH-1845 Fix ClassCast Exception when retrieving bean definition
During search for PollableBean we assumed that the underlying supplier definition is RootBeanDefinition which is not always the case

Resolves #1845
2019-11-22 13:05:07 +01:00
Oleg Zhurakousky
8a1c4acb1c GH-1851 ensured proper ordering of custom message converters
Resolves #1851
2019-11-22 12:55:32 +01:00
Oleg Zhurakousky
9354dde5fc Remove re-queue on error section from the docs
polish
2019-11-20 17:57:33 +01:00
Oleg Zhurakousky
fb088215f3 GH-1818 Improve error handling with reactive functions
- Switched to using SI fix for channel-to-publisher adaptation
- Fixed retries for reactive functions
- Fixed DLQ handling for reactive functions
- Updated documentation

Resolves #1818
2019-11-19 09:36:41 +01:00
Oleg Zhurakousky
596e6bea39 Improve function binding documentation
- Added more details around descriptive binding name
- Added more details around functional composition and explicit binding names
2019-11-18 10:49:30 +01:00
Oleg Zhurakousky
9db5f64a70 Initial fix for binding name of composed functions 2019-11-12 19:01:08 +01:00
Gary Russell
0d9982fddb GH-1841: Move invocation to before aPS() 2019-11-11 11:19:48 -05:00
Gary Russell
22872c3232 GH-1841: Add ConsumerEndpointCustomizer
Fixes https://github.com/spring-cloud/spring-cloud-stream/issues/1841
2019-11-11 10:56:09 -05:00
buildmaster
8494138029 Going back to snapshots 2019-11-08 16:16:19 +00:00
buildmaster
f075763960 Update SNAPSHOT to 3.0.0.RC2 2019-11-08 16:14:17 +00:00
Oleg Zhurakousky
1ad96c364f Ignored test due to boot change
Need tyo revisit it before release. Outside of test functionality is verified
2019-11-08 17:10:27 +01:00
Oleg Zhurakousky
c49c7b5e48 Added flatten plug-in 2019-11-08 16:34:00 +01:00
Gary Russell
602c4c4112 Fix typo 2019-11-07 09:27:37 -05:00
Michailidis Michael
8838d9227e Support consumption from multiple non-native part.
Currently, non-native partitioning (e.g. RabbitMQ) require
an instance per partition.
Add support to allow one instance to consume from multiple
partitions.

Changed instanceIndex from single valued to List

Added a new property to support index list to spawn multiple consumers

added test for the index list usage

added author to the changed files. Fixes-gh-1232

Using object utils to check if a list is empty

Only look at indexes when partitioned

Add docs for `instanceIndexList`
2019-11-06 15:50:37 -05:00
Oleg Zhurakousky
fa40b7f476 GH-1835 Changed channel-to-publisher adapter logic to use EmitterProcessor
This effectively transforms Publisher to back-pressure honoring publisher

polishing
2019-11-01 15:58:29 +01:00
Oleg Zhurakousky
a2595a26e3 GH-1835 Fixed channel-to-publisher adapter
- Needed to copy one from SI to address the issue but the actual fix should go into SI

Resolves #1835
2019-11-01 12:44:16 +01:00
Oleg Zhurakousky
2310bc698e GH-1838 Deprecated BinderAwareChannelResolver
Resolves #1838
2019-10-31 20:19:59 +01:00
Oleg Zhurakousky
e2a41e7871 GH-1837 Fix dynamic destination resolution for Supplier
Resolves #1837
2019-10-31 20:05:35 +01:00
Oleg Zhurakousky
b8de26b4f7 Polishing routing documentation 2019-10-31 14:55:51 +01:00
Oleg Zhurakousky
6c6d41c8ca Updated docs with routing documentation 2019-10-31 11:45:22 +01:00
Oleg Zhurakousky
a054f047f3 GH-1834 Fix reactive consumer
Added null check for reactive wirong in FunctionConfiguration

Resolves #1834
2019-10-28 17:45:28 +01:00
Oleg Zhurakousky
44f114e4e7 Polishing docs 2019-10-28 17:37:40 +01:00
Oleg Zhurakousky
0a59a60a7f Fix RoutingFunction initialization based on routing-expression 2019-10-28 16:25:31 +01:00
Oleg Zhurakousky
9ec31d8fd7 Polishing docs 2019-10-28 16:01:54 +01:00
Oleg Zhurakousky
2345be9905 Updated error handling section 2019-10-28 14:31:50 +01:00
buildmaster
f26c7661f4 Going back to snapshots 2019-10-24 15:45:03 +00:00
buildmaster
65ca0d99df Update SNAPSHOT to 3.0.0.RC1 2019-10-24 15:44:07 +00:00
buildmaster
32c0721e42 Bumping versions 2019-10-24 12:21:05 +00:00
Oleg Zhurakousky
864e7fedf1 GH-1829 Add 'multiplex' consumer property to the doc
Fix javadoc by removing the note about users not being expected to set this property

Resolves #1829
2019-10-24 12:50:23 +02:00
Oleg Zhurakousky
361daefb17 GH-1812 Add support for property-based dynamic destination resolution
Added initial support for property-based dynemic destination resolution
Added initial documentation

Resolves #1812
2019-10-24 12:44:21 +02:00
Oleg Zhurakousky
cbe3868c5b Remove BindingProvider 2019-10-24 08:29:05 +02:00
Oleg Zhurakousky
44b09b13e4 Removed dependency on BindingProvider 2019-10-23 21:54:15 +02:00
Artem Bilan
a516f9382d Add ProducerMessageHandlerCustomizer support
Related to https://github.com/spring-cloud/spring-cloud-stream-binder-aws-kinesis/issues/107

In some cases there is not enough configuration properties to setup
a producing `MessageHandler` in the binder.
Or we just can't do that via properties because some real object is
required for particular MH option.
For example in the AWS Kinesis Binder end-user would like to provide
a custom `AsyncHandler` which definitely cannot be expressed via properties

* Introduce a `ProducerMessageHandlerCustomizer` similar to existing
`MessageSourceCustomizer` and `ListenerContainerCustomizer`
* Add an `AbstractMessageChannelBinder.setProducerMessageHandlerCustomizer()`
to avoid breaking changes with an additional constructor arg
* Use a provided `handlerCustomizer` in the `customizeProducerMessageHandler()`
called from the `doBindProducer()` on the current `MH` before its
`afterPropertiesSet()`
* It is a target binder configuration responsibility to inject a
`ProducerMessageHandlerCustomizer` into the binder bean

Resolves #1828
2019-10-23 16:43:39 +02:00
Oleg Zhurakousky
551a6a4dd0 Simplified previous commit 2019-10-23 16:32:09 +02:00
Soby Chacko
72e96a3b2e Provide MessageConverterConfigurer conditionally
Check for conditions when MessageConverterConfigurer must be instantiated
even in the presence of `spring.cloud.stream.function.definition`.
2019-10-22 13:23:01 -04:00
Soby Chacko
713c252576 Fix issues with binders and BindingProvider
When multiple binders are present with at least one of them is marked with BindingProvider,
it skips scanning functions for regular message channel based binders.

Resolves #1820
2019-10-17 20:34:13 +02:00