Commit Graph

3866 Commits

Author SHA1 Message Date
spencergibb
7505144fcb Ignores pulsar-binder snapshot temporarily
The module is disabled
2023-08-09 15:26:10 -04:00
spencergibb
a45a2811e0 Disables pulsar-binder temporarily 2023-08-09 15:22:10 -04:00
Oleg Zhurakousky
b4e976f371 GH-2783 Ensure proper cashing of StreamBridge function
Resolves #2783
2023-08-09 15:58:47 +02:00
Claudio Silva Junior
b0fb7740b7 Added example to identify if kafka error is in brokers or in topic (#2778)
* Added example to identify Kafka error

* removed implementation and added doc links and added bean example

* changed doc link to the official doc

* Added custom message in the down status of the actuator
2023-07-31 10:39:44 -04:00
Marc DiPasquale
0a02ffcb0a Update outdated solace links (#2777)
* Update binders.adoc

* Update sagan-index.adoc

* Update spring-cloud-stream.adoc
2023-07-25 17:55:12 -04:00
Soby Chacko
93b584d20e Fix BindersHealthContributor thread safety issues
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2780
2023-07-25 16:59:23 -04:00
Soby Chacko
7905601e51 DltAwareProcessor constructor changes 2023-07-24 15:14:38 -04:00
Soby Chacko
6bb4da89ce DLTAwareProcessor (Kafka Streams binder) changes
- Optional BiConsumer for processor record recoverer
 - Optional Supplier for downstream record timestamp
2023-07-24 15:04:57 -04:00
buildmaster
25af6a76b0 Bumping versions 2023-07-22 10:13:08 +00:00
Soby Chacko
02567b1dae Kafka Streams binder error handling
- Initial support for Kafka Streams binder runtime error handling
 - This feature is very early in it's implementation and experimental right now
2023-07-21 18:23:58 -04:00
Soby Chacko
50c461fb30 Fix test for the second binding in the previous commit
Resolves #2772
Resooves #2770
2023-07-17 13:29:22 +02:00
Soby Chacko
b83b2c6aa4 GH-2770: sendto header and key extraction
When sendto header is used for dynamic destinations
and a partition key extractor is given for binder based
partitioning, then the partition key extractor is not invoked
when publishing the message. Addressing this issue.

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2770
2023-07-17 13:01:35 +02:00
“claudio-code”
403d97c057 fixed broken links 2023-07-14 14:50:17 -04:00
dependabot[bot]
f3767b19af Bump h2 from 2.1.210 to 2.2.220 in /schema-registry
Bumps [h2](https://github.com/h2database/h2database) from 2.1.210 to 2.2.220.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](https://github.com/h2database/h2database/compare/version-2.1.210...version-2.2.220)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 16:57:12 -04:00
Soby Chacko
919d3c85fc Kafka Streams binder security test changes
- Invalidate security configuration in Kafka Streams binder
   security related tests. See the previous commit for more details.
2023-07-10 15:18:01 -04:00
Soby Chacko
0f0f29cfed Kafka binder security test changes
- Before running a test, invalidate any existing JVM-wide static
   security configuration so that tests are forced to create/use
   fresh security configuration. Without this, test suites with
   multiple security tests might fail as they might overlap with
   security confugiruation from other tests.
2023-07-10 14:23:09 -04:00
Ivan Shapoval
cf37417d26 Fix documentation related to explicit binding name change 2023-07-06 17:11:54 -04:00
Istvan Viczian
60a472e089 Schema registry doc corrections (#2767)
* Format Schema Registry Server documentation

Use backtick for formatting API operations

* Fix the url of Schema Registry Server in doc

* Fix the artifact of Schema Registry Server in doc

Embeddable artifact name is
`spring-cloud-stream-schema-registry-core` now
2023-07-06 12:40:32 -04:00
sy.choi
1e17b597f9 add word spacing 2023-07-06 12:39:08 -04:00
Gary Russell
f1316b37b2 GH-2673: Fix Doc Anchor Name
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2763
2023-06-29 11:45:10 -04:00
Soby Chacko
2a63301efe Reactor Kafka Binder Health Indicator (#2755)
* Reactor Kafka Binder Health Indicator

 - Provide a new abstraction for general Kafka binder related HealthIndicators.
 - Refactor Kafka binder to use the new abstraction
 - Add HealthIndicator implementation for the ReactorKafkaBinder

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

* Addressing PR review

* Addressing PR review

* Addressing PR review
2023-06-22 13:29:43 -04:00
Soby Chacko
efe6c87d48 Avoid StreamBridge double partition finding
- In StreamBridge send method, there is a path, in which it
   tries to find the partition information twice, causing it
   to throw errors when using patition key expresson that
   involves the payload. This is because, the second time it
   tries to find the partition, the payload is already converted
   into byte[]. This second partition finding is unncessary.

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2759
2023-06-21 13:55:25 -04:00
Soby Chacko
01efa99e9e Pulsar binder docs cleanup 2023-06-20 16:23:43 -04:00
Soby Chacko
6b3876694e Pulsar binder docs metadata cleanup 2023-06-20 11:26:08 -04:00
Soby Chacko
e9ff405a04 Initial migration of Pulsar binder docs
From https://github.com/spring-projects/spring-pulsar/blob/0.2.x/spring-pulsar-docs/src/main/asciidoc/pulsar-binder.adoc
2023-06-16 19:21:29 -04:00
Soby Chacko
3235492304 Checkstyle fix 2023-06-16 16:11:21 -04:00
Soby Chacko
0dd986d0ad Initial migration of Pulsar binder
- Moving Pulsar binder from the old 4.1.x branch
2023-06-16 16:05:46 +02:00
manyasi06
09a47b06a1 add test for improving coverage defaultbinder 2023-06-16 15:04:10 +02:00
buildmaster
285f1ee6c8 Bumping versions 2023-06-15 10:09:58 +00:00
Soby Chacko
9ac24da343 Minor refactoring to KafkaBinderHealthIndicator
- Instead of implementing HealthIndicator directlry,
   extend from AbstractHealthIndicator provided by Spring Boot.
2023-06-14 16:52:45 -04:00
Soby Chacko
63d2bd3256 Updating to 4.1.0-SNAPSHOT 2023-06-14 14:22:10 -04:00
Soby Chacko
2093cb6a99 Multi output partition issues
- When using reactive functions, partition selector strategy does not
   use the configured partition count for multiple outbounds. This is
   because we take the first configured output binding and apply it's
   partition counts on all the outbound reactive streams (Tuples).
   Addressing this issue by properly applying the correct partition handling
   per output binding.

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2750
2023-06-14 17:41:22 +02:00
Oleg Zhurakousky
abf5aab2aa GH-2744 Wrap shared beans loading in Throwable
Resolves #2744
2023-06-07 14:24:04 +02:00
Oleg Zhurakousky
2b95f26d64 Polishing previous PR
Resolves #2748
2023-06-07 14:06:27 +02:00
Ivan Shapoval
8d99e80e87 Fix for function auto-detection when input/output-bindings are defined 2023-06-07 10:10:44 +02:00
Oleg Zhurakousky
1e5b41cfee GH-SCF-1045 Fix type discovery in DefaultPollableMessageSource 2023-06-06 09:54:28 +02:00
Soby Chacko
9a773c8647 Cleaning up tests
- Remove unused components from CustomPartitionedProducerTest
2023-06-02 12:40:11 -04:00
Soby Chacko
4f6361c6c4 Troubleshooting CI test failures 2023-06-02 12:06:57 -04:00
Chris Bono
99ae05314a Instrument BinderChildContextInitializerTests to debug failure in CI
- The BinderChildContextInitializerTests is failing in Jenkins but not locally. This adds temporary sout to the test in order to see what the issue is in the child context creation.
2023-06-01 15:45:23 -04:00
Oleg Zhurakousky
2ab71f2f32 Fix function auto-detection when single function and input/output-bindings are defined 2023-05-31 18:37:15 +02:00
Chanhyeong Cho
33528d1114 Polish documentations 2023-05-31 10:00:51 -04:00
Oleg Zhurakousky
5dc2decda2 Cleanup POMs, upgrade versions 2023-05-30 10:05:01 +02:00
Oleg Zhurakousky
8f5e6692c1 Removed explicit Kotlin versioning from POM 2023-05-26 17:23:52 +02:00
buildmaster
0b7d773b30 Bumping versions to 4.0.4-SNAPSHOT after release 2023-05-24 18:47:37 +00:00
buildmaster
16cf46d74f Going back to snapshots 2023-05-24 18:47:37 +00:00
buildmaster
1550366414 Update SNAPSHOT to 4.0.3 2023-05-24 18:43:23 +00:00
jamesforward
14a444885f Multiple functions in Kafka Streams binder
* Trim functionUnits so we can declare them in a multi-line fashion,
   as currently whitespace is still considered.

 * Polishing

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2742
2023-05-22 15:58:57 -04:00
Soby Chacko
0ab5dfc05a KafkaStreams Functions Detection Logic (#2738)
* KafkaStreams Functions Detection Logic

Kafka Streams functions declared in super classes are no longer
detected by the binder discovery algorithms. Fixing this issue
by properly scanning the methods from the super classes.

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

* Addressing PR review
2023-05-22 09:34:48 -04:00
Gary Russell
ac6dd61630 GH-2729: Reactor Kafka Binder SenderResult Support (#2730)
* GH-2729: Reactor Kafka Binder SenderResult Support

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

Allow configuration of a `FluxMessageChannel` to receive `SenderResult`s.
Add `SenderResultMessageHandler` to consume from that channel.

Remove undocumented `sendResult` header, which has no value without the
sender result correlation metadata.

* Add integration test and polish property docs.

- result channel must be FMC for reactive binder.

* Add documentation.

* Remove SenderResultMessageHandler.
2023-05-17 16:10:20 -04:00
Soby Chacko
4d65ccd235 Kafka binder partitioning doc improvements (#2735)
* Kafka binder partitioning doc improvements

* Update docs/src/main/asciidoc/kafka/kafka_partitions.adoc

Co-authored-by: Gary Russell <grussell@vmware.com>

* Update docs/src/main/asciidoc/kafka/kafka_partitions.adoc

Co-authored-by: Gary Russell <grussell@vmware.com>

* Update docs/src/main/asciidoc/kafka/kafka_partitions.adoc

Co-authored-by: Gary Russell <grussell@vmware.com>

---------

Co-authored-by: Gary Russell <grussell@vmware.com>
2023-05-15 16:48:25 -04:00