Commit Graph

3626 Commits

Author SHA1 Message Date
spencergibb
cdda9b2ef7 Removes versions managed by spring-cloud-stream-dependencies 2022-10-05 16:23:31 -04:00
spencergibb
cbae3f410e Adds spring-cloud-stream-schema-registry-* to spring-cloud-stream-dependencies 2022-10-05 16:23:06 -04:00
Oleg Zhurakousky
c28873c870 Revert "GH-2510: Rabbit Binder Scale-out on Super Stream"
This reverts commit 16c8591ddd.
2022-10-05 21:31:01 +02: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
4702036797 Upgrade jackson 2022-10-05 09:41:44 +02:00
Oleg Zhurakousky
3317d38779 Set 'proxyBeanMethods' to false 2022-10-05 09:30:04 +02:00
Oleg Zhurakousky
053563de54 GH-2283 Fix binder specific 'default' bindings
Resolves #2283
2022-10-04 20:29:55 +02:00
Ginkgo
b01c804008 Fix KafkaBinderHealthIndicator return Down Error
When we set enable.auto.commit to true, the actuator/health returns DOWN status.

For more details see this: https://github.com/spring-cloud/spring-cloud-stream/pull/2504#issue-1361385289

Update KafkaBinderConfigurationProperties.java

Polish commit
2022-10-03 19:31:31 -04:00
buildmaster
e5bb008b7a Bumping versions 2022-09-30 17:31:48 +00:00
Soby Chacko
b85ee57d80 Kafka Streams Binder Default Package Beans
Currently, in Kafka Streams binder-based apps, processor beans
need to be declared public. This is unnecessary and caused by
some restrictions in the binder. This PR fixes this restriction.

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2516
2022-09-29 17:51:38 -04:00
Oleg Zhurakousky
3fa4b67703 GH-2482 Add docs about reactive vs imperative functions
Resolves #2482
2022-09-28 14:21:03 +02:00
Gary Russell
16c8591ddd GH-2510: Rabbit Binder Scale-out on Super Stream
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2510

New feature on RabbitMQ (Super Stream with Single Active Consumer) enables
scaling out app instances when using this queue type/config.

`RabbitStreamMessageHandler` is now available in Spring Integration.
2022-09-27 12:51:42 -04:00
Oleg Zhurakousky
60ddac5560 Polish Kinesis binder following previous commit 2022-09-27 17:03:15 +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
65c6274a11 GH-2511 Fix Rabbit environment tests/binder
Resolves #2511
2022-09-26 11:39:45 +02:00
spencergibb
63b96ba135 Updates testcontainers to 1.17.3 2022-09-22 12:53:48 -04:00
Oleg Zhurakousky
00d0c6bacf Add new spring-boot .imports files and move auto-configuration classes there 2022-09-22 17:53:47 +02:00
Soby Chacko
af022b2ee0 Cleanup Kafka Client Deps
Let the Kafka client versions be managed from Spring Boot
rather than the binder manages it's own versions.
2022-09-15 15:17:32 -04: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
Soby Chacko
9a645bc43b Migrating schema registry docs
Initial take on migrating the schema registry refrence docs
from the legacy spring-cloud-schema repository.
2022-09-13 19:05:26 -04:00
Oleg Zhurakousky
fbdf2dc40b Fix Rabbit tests 2022-09-12 15:27:52 +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
Nico Heller
de0efcf0a1 GH-2485: Improvements in Kafka Binder Metrics
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2485

These improvements are threading related

Initial implementation

Readd missing 'cache' for recent offset lags and general refactoring

Add a test case for the schedule-only variant and externalize scheduling interval

Consistency of configuration property naming and minor cleanup of existing code

Review feedback: documentation, author addition and copyright adjustments

Doc wording changes

Fix checkstyle issues

Adjust reference doc and improve new property names according to review

Move documentation to the correct file
2022-09-02 10:21:11 -04:00
Gary Russell
4fda96507c GH-2453: RMQ: Full Support for Alternate Exchange
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2453

Previously, to configure the use of an alternative exchange (used to route
messages when no queue is bound), the user had to manually declare the
exchange and any bindings, and modify the destination exchange using a
`DeclarablesCustomizer` bean.

Add first class support to configure the destination exchange and, optionally,
provision the alternate exchange as well as optionally binding a specific
queue to it.

Resolves #2502
2022-09-01 16:44:15 +02:00
Oleg Zhurakousky
9a18600413 GH-2470 Verify Kotlin lambda working with PollableBean
Resolves #2470
2022-08-31 15:47:59 +02:00
Glenn Renfro
f0c5fe7914 Updated README to fix spelling hiccup 2022-08-31 13:39:16 +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
Soby Chacko
6fcc060b66 Add missing copyrights to schema-registy samples 2022-08-30 17:46:21 -04:00
Chris Bono
449e6f83d8 Rename SCSt schema registry sample (#2500) 2022-08-29 19:30:14 -05:00
Soby Chacko
d38f57e06a Migrating SCSt Schema Registry Sample (#2498)
* Migrating SCSt Schema Registry Sample

* Addressing PR review
2022-08-29 18:38:25 -04: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
Soby Chacko
92ea029a8b AdminClient usage if autoCreateTopics is disabled (#2494)
* AdminClient usage if autoCreateTopics is disabled

Don't Create an AdminClient if autoCreateTopics is False

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2486

* Fix copyright year
2022-08-29 09:11:14 -04:00
Soby Chacko
eb986d1e77 Schema registry test cleanup 2022-08-26 14:42:19 -04:00
Soby Chacko
1aef594cc9 build script for schema registry components 2022-08-26 14:29:22 -04:00
dependabot[bot]
db8b797e11 Bump h2 from 1.4.192 to 2.1.210 in /schema-registry
Bumps [h2](https://github.com/h2database/h2database) from 1.4.192 to 2.1.210.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](https://github.com/h2database/h2database/compare/version-1.4.192...version-2.1.210)

---
updated-dependencies:
- dependency-name: com.h2database:h2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-26 13:58:38 -04:00
buildmaster
f4320adb95 Bumping versions 2022-08-26 17:37:59 +00:00
Oleg Zhurakousky
76d8e97614 Disabling temporary endpoint test due to boot changes 2022-08-25 19:48:08 +02:00
Soby Chacko
e1f173e139 Schema Registry Migration
Initial attempt at migrating schema registry from https://github.com/spring-cloud/spring-cloud-schema-registry
to Spring Cloud Stream.

Schema Registry within the scope of Spring Cloud Stream will only support Spring Cloud Stream
specific use cases in the context of binders.

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2491

Resolves #2492
2022-08-25 19:47:34 +02:00
Gary Russell
0daa58c48a GH-2483: Fix Tests 2022-08-18 10:19:19 -04:00
Gary Russell
f7146ad02e GH-2483: RMQ: Fix Redeclare Multi Routing Keys
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2483

https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/242
added support for binding a queue with multiple routing keys. However, only
one binding was added to the `autoRedeclarContext`.

Use the `Declarables` wrapper to support multiple instances with the same
name.

**cherry-pick to 3.2.x**
Resolves #2484
2022-08-18 15:47:17 +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
Soby Chacko
3178464f14 Fixes typo in docs.
Resolves #2478
2022-08-15 14:13:22 -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
Chris Bono
aa3ab75f64 Remove stream-bridge-avro sample 2022-07-28 16:06:03 +02:00