Soby Chacko
aff8b8487c
Add junit-vintage-engine dependency
...
With Boot 2.4, JUnit 4 tests need this dependency.
Fix tests.
2020-06-15 17:01:48 -04:00
Gary Russell
95bc54b991
GH-914: Add Micrometer Producer/Consumer Listeners
...
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/914
Boot no longer uses the deprecated JMX MBean scraping provided by Micrometer.
Add configuration to add Micrometer Meters when Micrometer and spring-kafka 2.5.x are on
the class path.
Micrometer for Streams
- work around until SK 2.5.3
2020-06-15 11:36:49 -04:00
Marcin Grzejszczak
38bea7e7da
Added missing JAR packaging
2020-06-08 18:42:49 +02:00
Marcin Grzejszczak
201feca206
Migrated to new documentation generation
2020-06-08 18:41:25 +02:00
Soby Chacko
21a8f89f22
Update version to 3.1.0-SNAPSHOT
2020-06-02 13:58:54 -04:00
Soby Chacko
7fc9145a21
Fix a failing test due to application ID clash
2020-06-02 12:56:08 -04:00
Soby Chacko
473ca53723
Configuring Kafka producer timeout
...
Allow setting timeout for closing the producer.
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/891
Resolves #909
2020-06-02 12:54:42 -04:00
Soby Chacko
788dc28d7e
Simplify the handling of concurrency
...
In Kafka Streams binder, we use a complex strategy to handle
applications provided concurrency. Simplify this process while
making the binder stay aligned with boot -> binder -> binding
hierrachy for concurrency (num.stream.threads).
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/905
Resolves #907
2020-06-02 12:42:14 -04:00
Soby Chacko
dbc00ffa92
Docs changes for consumer batch.mode
...
See https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/892\#issuecomment-631862705
2020-06-02 12:38:44 -04:00
Soby Chacko
240ae8282e
KafkaTopicProvisioner improvements
...
Use a retry template for topic description method call through
admin client when provisioning producer destinations. We are
retrying because in the event this operation gets failed, it
is retried with the default retry settings in the provisioner.
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/888
2020-06-02 12:38:29 -04:00
Soby Chacko
7adb10bcd2
Adding state store beans for KTable binding
...
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/897
2020-06-02 12:38:14 -04:00
Soby Chacko
8be9fe6abc
Ignore test
2020-06-02 12:37:51 -04:00
Soby Chacko
04e0bf628c
Kafka Streams binder test triage.
...
Fixing two tests in Kafka Streams binder that fail with the full suite.
See the comments on the code committed for more details.
2020-06-02 12:37:37 -04:00
Soby Chacko
79323588ba
Ignore a test temporarily
2020-06-02 12:37:17 -04:00
Soby Chacko
395683fdaf
Fixing random test failure on CI
2020-06-02 12:36:55 -04:00
Soby Chacko
2a25f7c1f3
Cleanup test
2020-06-02 12:36:13 -04:00
Soby Chacko
5fa88e11ec
Fix checkstyle
2020-06-02 12:35:45 -04:00
Soby Chacko
ee3279072d
Fixing a random test failure on CI
2020-06-02 12:35:20 -04:00
Soby Chacko
fa0d6fe60e
GH-899: num.stream.threads not taking effect
...
Binder is overriding the num.stream.threads property specified
through the binder configuration. Fixing this issue.
Adding tests to verify.
Doc changes
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/899
2020-06-02 12:34:50 -04:00
Soby Chacko
6578a996cb
Update versions
2020-06-02 12:33:48 -04:00
Roberto Matas
af5778d157
Property name min.fetch.bytes renamed to the correct one
2020-05-21 17:01:35 -04:00
Soby Chacko
a190289bff
Kafka Streams binder changes
...
Update API calls in health indicator.
Update tests.
Ignore two tests temporarily
2020-04-30 21:42:49 -04:00
Gary Russell
7091a641d6
Fix test: mock Producer to return a Future
2020-04-30 17:57:38 -04:00
Soby Chacko
c408f91162
Update versions
...
Spring Kafka -> 2.5.0.RC1
Kafka client -> 2.5.0
Spring Integration Kafka -> 3.3.0.RC1
2020-04-30 17:46:19 -04:00
Gary Russell
1cfb63f4bf
Reject improper settings for bootstrap.servers
...
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/875
- the `bootstrap.servers` property cannot be overridden at the binding level.
2020-04-30 17:08:03 -04:00
Soby Chacko
1bf1393c6e
Fix the failing test
...
The test was failing due to wrong broker address.
2020-04-16 12:33:11 -04:00
Soby Chacko
85663ebea7
Different topic names in test for DLQ.
...
Unignore the test that was ignored previously.
2020-04-16 11:47:14 -04:00
Soby Chacko
c17752b02d
Troubleshooting a CI test failure
2020-04-16 11:32:41 -04:00
Soby Chacko
52c0b35add
GH-657: DLQ producer properties from the binder
...
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/657
Adding the ability for the binder to detect DLQ producer properties
set on the binder as common producer properties.
Adding test to verify.
2020-04-16 10:15:23 -04:00
buildmaster
36f00e5867
Going back to snapshots
2020-04-07 17:19:16 +00:00
buildmaster
e7487b9ada
Update SNAPSHOT to 3.1.0.M1
v3.1.0.M1
2020-04-07 17:18:40 +00:00
Oleg Zhurakousky
064f5b6611
Updated spring-kafka version to 2.4.4
2020-04-07 19:05:46 +02:00
Oleg Zhurakousky
ff859c5859
update maven wrapper
2020-04-07 18:45:35 +02:00
Gary Russell
445eabc59a
Transactional Producer Doc Polishing
...
- explain txId requirements for producer-initiated transactions
2020-04-07 11:16:14 -04:00
Soby Chacko
cc5d1b1aa6
GH:851 Kafka Streams topology visualization
...
Add Boot actuator endpoints for topology visualization.
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/851
2020-03-25 13:02:57 +01:00
Soby Chacko
db896532e6
Offset commit when DLQ is enabled and manual ack ( #871 )
...
* Offset commit when DLQ is enabled and manual ack
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/870
When an error occurs, if the application uses manual acknowldegment
(i.e. autoCommitOffset is false) and DLQ is enabled, then after
publishing to DLQ, the offset is not committed currently.
Addressing this issue by manually commiting after publishing to DLQ.
* Address PR review comments
* Addressing PR review comments - #2
2020-03-24 16:28:39 -04:00
Gary Russell
07a740a5b5
GH-861: Add transaction manager bean override
...
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/861
Add docs
2020-03-19 17:03:36 -04:00
Serhii Siryi
65f8cc5660
InteractiveQueryService API changes
...
* Add InteractiveQueryService.getAllHostsInfo to fetch metadata
of all instances that handles specific store.
* Test to verify this new API (in the existing InteractiveQueryService tests).
2020-03-05 13:24:32 -05:00
Soby Chacko
90a47a675f
Update Kafka Streams docs
...
Fix missing property prefix in StreamListener based applicationId settings.
2020-03-05 11:40:10 -05:00
Soby Chacko
9d212024f8
Updates for 3.1.0
...
spring-cloud-build to 3.0.0 snapshot
spring kafka to 2.4.x snapshot
SIK 3.2.1
Remove a test that has behavior inconsistent with new changes in Spring Kafka 2.4
where all error handlers have isAckAfterHandle() true by default. The test for
auto commit offset on error without dlq was expecting this acknowledgement to not
to occur. If applications need to have the ack turned off on error, they should provide a
container customizer where it sets the ack to false. Since this is not a binder
concern, we are removing the test testDefaultAutoCommitOnErrorWithoutDlq.
Cleaning up in Kafka Streams binder tests.
2020-03-04 18:37:08 -05:00
Gary Russell
d594bab4cf
GH-853: Don't propagate out "internal" headers
...
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/853
2020-02-27 13:37:58 -05:00
Oleg Zhurakousky
e46bd1f844
Update POMs for Ivyland
2020-02-14 11:28:28 +01:00
buildmaster
5a8aad502f
Bumping versions to 3.0.3.BUILD-SNAPSHOT after release
2020-02-13 08:31:42 +00:00
buildmaster
b84a0fdfc6
Going back to snapshots
2020-02-13 08:31:41 +00:00
buildmaster
e3fcddeab6
Update SNAPSHOT to 3.0.2.RELEASE
v3.0.2.RELEASE
2020-02-13 08:30:55 +00:00
Soby Chacko
1b6f9f5806
KafkaStreamsBinderMetrics throws ClassCastException
...
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/814
Fixing an erroneous cast.
2020-02-12 11:53:19 -05:00
Oleg Zhurakousky
f397f7c313
Merge pull request #845 from sobychacko/gh-844
...
Kafka streams concurrency with multiple bindings
2020-02-12 16:38:53 +01:00
Oleg Zhurakousky
7e0b923c05
Merge pull request #843 from sobychacko/gh-842
...
Kafka Streams binder health indicator issues
2020-02-12 16:37:11 +01:00
Soby Chacko
0dc5196cb2
Fix typo in a class name
2020-02-11 17:55:50 -05:00
Soby Chacko
1cc50c1a40
Kafka streams concurrency with multiple bindings
...
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/844
Fixing an issue where the default concurrency settings are overridden when
there are multiple bindings present with non-default concurrency settings.
2020-02-11 13:21:58 -05:00