Commit Graph

74 Commits

Author SHA1 Message Date
Oleg Zhurakousky
b86e713a58 Fix general Observablity support as well as Rabbit Observability support 2022-10-24 17:42:43 +02:00
Oleg Zhurakousky
c617f7e841 GH-2429 Add default implementation of isPaused() to Binding
Resolves #2429
2022-10-17 17:20:03 +02:00
Oleg Zhurakousky
60a78a617d Checkstyle 2022-10-17 17:07:51 +02:00
Oleg Zhurakousky
a5aa6d152c GH-2538 Remove ApplicationJsonMessageMarshallingConverter
Resolves #2538
2022-10-17 16:57:15 +02:00
Oleg Zhurakousky
e91c70154a Polish StreamBridge 2022-10-17 16:20:12 +02:00
buildmaster
fdc0d683ec Going back to snapshots 2022-10-06 00:51:30 +00:00
buildmaster
716f045bdf Update SNAPSHOT to 4.0.0-M5 2022-10-06 00:48:03 +00:00
Oleg Zhurakousky
a2fe78a9cd GH-2522 polishing previous commit 2022-10-05 17:28:58 +02:00
Oleg Zhurakousky
80e1e37a39 GH-2522 Add support for propagating select beans across child AC
Resolves #2522
2022-10-05 15:12:16 +02:00
Oleg Zhurakousky
2e6eadefa3 Set more 'proxyBeanMethods' to false 2022-10-05 13:27:07 +02:00
Oleg Zhurakousky
053563de54 GH-2283 Fix binder specific 'default' bindings
Resolves #2283
2022-10-04 20:29:55 +02:00
Oleg Zhurakousky
5035a40990 GH-2512, 2507 Establish binder identity & change error channel binding scheme
This commit establishes the concept of binder identity (binder instance identity) to be used in cases where unique-to-the-binder-instance naming is required.
For example such naming is required to fix GH-2507 where error channel names could colide if two binders use the same destination name.

Resolves #2512
Resolves #2507
2022-09-27 16:02:24 +02:00
Oleg Zhurakousky
00d0c6bacf Add new spring-boot .imports files and move auto-configuration classes there 2022-09-22 17:53:47 +02:00
Oleg Zhurakousky
8262124d06 Cleanup 2022-09-14 13:13:47 +02:00
Oleg Zhurakousky
68f052eca1 2506 adjust code to enable full native/aot support
Resolves #2506
2022-09-14 12:55:32 +02:00
Stephane Nicoll
1f9418754a Adapt to API change in Spring Framework
See https://github.com/spring-projects/spring-framework/issues/29005

Resolves #2508
2022-09-12 12:34:10 +02:00
Oleg Zhurakousky
9a18600413 GH-2470 Verify Kotlin lambda working with PollableBean
Resolves #2470
2022-08-31 15:47:59 +02:00
Oleg Zhurakousky
c92bb1f0aa GH-2501 Maje StreamBridge 'safer' if created outside of Spring
Resolves #2501
2022-08-31 13:34:18 +02:00
Oleg Zhurakousky
ccc26f8863 Small cleanup in StreamBridge
Remove redundant injection of FunctionRegistry since it is the same as FunctionCatalog
2022-08-29 16:56:34 +02:00
Oleg Zhurakousky
76d8e97614 Disabling temporary endpoint test due to boot changes 2022-08-25 19:48:08 +02:00
Chris Bono
71ee26b0a1 Use empty context for AOT binder child context
Previously, when running in AOT mode the binder child context
was created w/ the same beans as when in JVM mode. The whole
point of the former is to static initialize an empty fresh context
using the AOT generated initializer.
2022-08-17 12:59:44 -04:00
Chris Bono
f94da9d311 Update Spring Boot from 3.0.0-M4 -> 3.0.0-SNAPSHOT
Adapts to the following changes in upstreams libs:

- Spring Kafka removed ListenableFuture
- Spring AOT changed generator API

Fixes #2473 #2465

Checkstyle fixes
2022-08-09 10:32:25 -04:00
Bowen Li
b33c76ad84 Update Binding.java 2022-08-08 15:42:18 +02:00
buildmaster
605344d5a5 Going back to snapshots 2022-07-29 19:05:12 +00:00
buildmaster
c69888ae68 Update SNAPSHOT to 4.0.0-M4 2022-07-29 19:02:38 +00:00
Oleg Zhurakousky
b276d803d7 Address functionType and other deprecations 2022-07-27 17:56:36 +02:00
Oleg Zhurakousky
f1a0e76e80 GH-2452 Clean up bindings in Stream bridge once they are removed from cache
Resolves #2452
2022-07-25 16:37:54 +02:00
Oleg Zhurakousky
b9e30adf2f Wrap PollableBean in try/catch to accomodate AOT 2022-07-25 09:57:29 +02:00
Oleg Zhurakousky
88e5f88270 GH-2455 Fix the AOT Binding initialization logic
This commit also includes partial work to ensure framework works in full native/AOT mode.

Also, PollableBean remains and will simply not work in AOT mode until https://github.com/spring-projects/spring-framework/issues/28748 is resolved. That said, i will be deprecating t and it will be removed in the next release given that we already have configurable alternative

Resolves #2456
2022-07-22 13:53:51 +02:00
Chris Bono
59136c00d8 GH-2455 Add AOT support for binder child contexts
Fixes #2455
2022-07-22 13:53:43 +02:00
Oleg Zhurakousky
f5f7e41010 Fix tests after SI update 2022-07-14 16:46:26 +02:00
buildmaster
97975a0d3c Going back to snapshots 2022-06-15 11:35:09 +00:00
buildmaster
84d4cccdee Update SNAPSHOT to 4.0.0-M3 2022-06-15 11:32:24 +00:00
Oleg Zhurakousky
9768586145 Fix batching test 2022-06-15 11:50:43 +02:00
Oleg Zhurakousky
dd52482a9b GH-2374 minor adjustments to functional error handling 2022-06-13 19:35:39 +02:00
Oleg Zhurakousky
5a007a3833 GH-2347 Fix explicit binding creation when single function is present
Resolves #2347
2022-06-10 18:50:22 +02:00
Oleg Zhurakousky
0071c8e802 GH-2413 Add missing exception to ApplicationJsonMessageMarshallingConverter
Resolves #2413
2022-06-09 17:58:00 +02:00
Oleg Zhurakousky
723eadb67f GH-2355 Add tests for KafkaNull batching suport
This commit also has some checksyle fixes due to s-c-build changes
Inspired by suggestion from https://github.com/spring-cloud/spring-cloud-stream/pull/2422 by @sbernardo

Resolves #2355
2022-06-08 20:06:48 +02:00
Oleg Zhurakousky
cc28eb7c6b polishing previous commit
Resolves #2416
2022-06-07 15:09:25 +02:00
Sean Doyle
862b2003ab StreamBridge resolveDestination considers binderName in cache hit 2022-06-07 15:01:28 +02:00
Oleg Zhurakousky
cc19c9f31c Fix ErrorBindingTests 2022-06-07 13:17:34 +02:00
Oleg Zhurakousky
1e141336a8 Fix ErrorBindingTests 2022-06-07 12:23:49 +02:00
Oleg Zhurakousky
cf0dd1bfa3 GH-2374 Add initial support for function-based error handling
Resolves #2374
2022-06-02 15:04:20 +02:00
Soby Chacko
562e1b27ba StreamBridge binder name related changes
An internal helper method used by StreamBridge for resolving the
binder target type to attach the target binder protocol, does not
take into account the binder name when resolving the binder configuration.
Fixing this issue.

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2379
2022-05-16 15:47:46 -04:00
Soby Chacko
dae959999a Binding name as a consumer/producer property
Make binding names available through Consumer/Producer properties.
Currently, the binders use a ThreadLocal to store the binding name for internal use.
These changes introduce the binding name as a property for both producer/consumer bindings.

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2380
2022-05-10 17:22:51 -04:00
Artem Bilan
3b32bea133 Fix Poller Config for ambiguity
Related to https://stackoverflow.com/questions/72023445/spring-cloud-stream-mutually-exclusive-property-issue

The `PollerConfigEnvironmentPostProcessor` has a flaw not checking user-provided properties
and does not check for mutually exclusive before setting default

* Fix `PollerConfigEnvironmentPostProcessor` to check for other mutual poller
properties before setting default for `fixed-delay`
* Same for `max-messages-per-poll`
* Verify that fix is working in the `PollableSourceTests` where poller
options make sense in the Spring Cloud Stream scenario

* Fix `PollerConfigEnvironmentPostProcessor` for redundant check
* Add more tests into `PollableSourceTests` to verify different
poller properties and their exclusive mutuality
2022-05-02 16:02:56 -04:00
Oleg Zhurakousky
77ee8ef1d3 GH-SCF_856 Fix propper Cloud Event header prefix in StreamBridge 2022-04-26 09:27:18 +02:00
Oleg Zhurakousky
c22651a3b0 GH-2360 Fix trimmimg in multiple function definition
remove leftovers from spring.cloud.streamfunction.definition

Resolves #2360
2022-04-22 15:32:28 +02:00
Oleg Zhurakousky
51cdcc7c37 GH-2340 Fix CCE in extended properties
Upgrade jackson core

Resolves #2340
2022-04-22 15:11:22 +02:00
matthieu.dupuy
8682417af4 Add setter for Container Customizer
Add setter for Container Customizer on AbstractMessageChannelBinder.

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2345
2022-04-08 10:00:21 -04:00