Sabby Anandan
3d3f02b6cc
Switch to KafkaStreamsProcessor
...
It appears we have refactored to rename the class from `KStreamProcessor` to `KafkaStreamsProcessor` [see a5344655cb (diff-4a8582ee2d07e268f77a89c0633e42f5) ], but the docs weren't updated. This commit does exactly that.
2019-04-30 13:23:44 -07:00
Guillaume Lemont
c1f4cf9dc6
Fix message listener container bean naming
...
With multiplex topics, topics can be an array. Sine message listener container
bean name is created by calling a toString() on the topics, when it is an array
it creates an unusual bean name. Fixing the issue by creating the bean name by
using destination string directly.
2019-04-26 15:11:20 -04:00
buildmaster
c990140452
Going back to snapshots
2019-04-09 18:10:36 +00:00
buildmaster
383add504a
Update SNAPSHOT to 2.2.0.RC1
2019-04-09 18:09:51 +00:00
Oleg Zhurakousky
5f9395a5ec
Prepared docs for RC1
2019-04-09 19:23:29 +02:00
Soby Chacko
70eb25d413
Fix failing test
2019-04-09 13:02:57 -04:00
Oleg Zhurakousky
6bc74c6e5c
Doc changes related to Rabbit's 'GH-193 Added note on default properties'
2019-04-09 18:56:15 +02:00
Soby Chacko
33603c62f0
Transactional binder producer factory
...
With a transactional binder, the producer factory should not be destroyed.
Resolves #626
2019-04-08 15:27:06 -04:00
Anshul Mehra
efd46835a1
GH-525: Ignore enable.auto.commit and group.id from merged consumer configuration ( #562 )
...
* GH-525: Ignore enable.auto.commit and group.id from merged consumer configuration
Resolves #525
* Update warning messages to be more explicit
2019-04-08 12:44:52 -04:00
Oleg Zhurakousky
3a267bc751
Merge pull request #620 from sobychacko/gh-589
...
Bean name conflicts (Kafka Streams binder)
2019-03-28 18:33:01 +01:00
Soby Chacko
62e98df0c7
Bean name conflicts (Kafka Streams binder)
...
When two processors with same name are present in the same application,
there is a bean creation conflict. Fixing that issue.
Add test to verify.
Modify existing tests.
Resolves #589
2019-03-27 16:30:22 -04:00
Matthieu Ghilain
9e156911b4
Fixing typo in documentation
...
Resolves #619
2019-03-26 18:49:49 +01:00
Oleg Zhurakousky
cd28454818
Updated docs pom back to snapshot
2019-03-25 18:46:05 +01:00
Oleg Zhurakousky
172d469faa
Updated spring-doc-resources.version
2019-03-25 16:46:25 +01:00
Oleg Zhurakousky
74cb25a56a
Prepared docs POM for M1
2019-03-25 15:39:26 +01:00
Oleg Zhurakousky
7dd4b66f58
Upgraded to s-c-build 2.1.4
2019-03-25 15:30:05 +01:00
Oleg Zhurakousky
908fb77a88
Merge pull request #586 from spring-operator/polish-urls-apache-license-master
...
URL Cleanup
2019-03-25 14:55:11 +01:00
Soby Chacko
5660c7cf76
Listened partitions assertions
...
Avoid unnecessary assertions on listened parttions when
autorebalancing is enabled, but no listened partitions are found.
Polish concurrency assignment when listened partition are empty
polishing the provisioner
Resolves #512
Resolves #587
2019-03-25 13:40:35 +01:00
Spring Operator
f8c1fb45a6
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 105 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-21 13:24:11 -05:00
Oleg Zhurakousky
73d3d79651
Minore cleanup and refactorings after previous commit
...
Removed KafkaStreamsFunctionProperties in favor of StreamFunctionProperties provided by core module
Resolves #537
2019-03-21 17:06:27 +01:00
Soby Chacko
792705d304
Fixing merge conflicts
...
Addressing checkstyle issues
Test fixes
Work around for Kafka Streams functions unnecessarily getting wrapped inside a FluxFunction.
2019-03-20 17:25:35 -04:00
Soby Chacko
0a48999e3a
Initial implementation for writing Kafka Streams applications using
...
a functional programming model. Simple Kafka Streams processors can
be written using java.util.Function or java.util.Consumer using this
approach.
For example, beans can be defined like the following:
@Bean
public Function<KStream<Object, String>, KStream<?, WordCount>> process() {
...
}
@Bean
public Function<KStream<String, Long>, Function<KTable<String, String>, KStream<String, Long>>> process() {
...
}
@Bean
public Consumer<KStream<String,Long>> process(){
...
}
etc.
Adding tests to verify the new programming model.
Resolves #428
2019-03-20 17:25:35 -04:00
Spring Operator
b7b93c1352
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://compose.docker.io/ (UnknownHostException) with 2 occurrences migrated to:
https://compose.docker.io/ ([https](https://compose.docker.io/ ) result UnknownHostException).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://docs.confluent.io/2.0.0/kafka/security.html with 2 occurrences migrated to:
https://docs.confluent.io/2.0.0/kafka/security.html ([https](https://docs.confluent.io/2.0.0/kafka/security.html ) result 200).
* [ ] http://github.com/ with 3 occurrences migrated to:
https://github.com/ ([https](https://github.com/ ) result 200).
* [ ] http://kafka.apache.org/090/documentation.html with 4 occurrences migrated to:
https://kafka.apache.org/090/documentation.html ([https](https://kafka.apache.org/090/documentation.html ) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 2 occurrences migrated to:
https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ) result 200).
* [ ] http://docs.spring.io/spring-cloud-stream-binder-kafka/docs/ with 1 occurrences migrated to:
https://docs.spring.io/spring-cloud-stream-binder-kafka/docs/ ([https](https://docs.spring.io/spring-cloud-stream-binder-kafka/docs/ ) result 301).
* [ ] http://docs.spring.io/spring-cloud-stream-binder-kafka/docs/current-SNAPSHOT/reference/html/ with 1 occurrences migrated to:
https://docs.spring.io/spring-cloud-stream-binder-kafka/docs/current-SNAPSHOT/reference/html/ ([https](https://docs.spring.io/spring-cloud-stream-binder-kafka/docs/current-SNAPSHOT/reference/html/ ) result 301).
* [ ] http://docs.spring.io/spring-kafka/reference/html/_reference.html with 1 occurrences migrated to:
https://docs.spring.io/spring-kafka/reference/html/_reference.html ([https](https://docs.spring.io/spring-kafka/reference/html/_reference.html ) result 301).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 2 occurrences migrated to:
https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546 ) result 301).
* [ ] http://raw.github.com/ with 1 occurrences migrated to:
https://raw.github.com/ ([https](https://raw.github.com/ ) result 301).
* [ ] http://eclipse.org with 2 occurrences migrated to:
https://eclipse.org ([https](https://eclipse.org ) result 302).
* [ ] http://eclipse.org/m2e/ with 4 occurrences migrated to:
https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/ ) result 302).
* [ ] http://www.springsource.com/developer/sts with 2 occurrences migrated to:
https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts ) result 302).
2019-03-20 17:25:12 -04:00
Spring Operator
718cb44de7
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://cloud.spring.io/ with 1 occurrences migrated to:
https://cloud.spring.io/ ([https](https://cloud.spring.io/ ) result 200).
* http://cloud.spring.io/spring-cloud-static/ with 1 occurrences migrated to:
https://cloud.spring.io/spring-cloud-static/ ([https](https://cloud.spring.io/spring-cloud-static/ ) result 200).
* http://maven.apache.org/xsd/maven-4.0.0.xsd with 6 occurrences migrated to:
https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd ) result 200).
* http://repo.spring.io/libs-milestone-local with 2 occurrences migrated to:
https://repo.spring.io/libs-milestone-local ([https](https://repo.spring.io/libs-milestone-local ) result 302).
* http://repo.spring.io/libs-snapshot-local with 2 occurrences migrated to:
https://repo.spring.io/libs-snapshot-local ([https](https://repo.spring.io/libs-snapshot-local ) result 302).
* http://repo.spring.io/release with 1 occurrences migrated to:
https://repo.spring.io/release ([https](https://repo.spring.io/release ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://maven.apache.org/POM/4.0.0 with 12 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 6 occurrences
2019-03-20 09:47:51 -04:00
Soby Chacko
de78bfa00b
Remove unused setter
...
Removing an integer version of required acks from KafkaBinderConfigurationProperties
Resolves #558
2019-03-15 15:02:46 -04:00
Oleg Zhurakousky
27bb33f9e3
adjusting for home.html
2019-03-14 20:25:46 +01:00
Oleg Zhurakousky
ecd8cc587c
polishing docs
2019-03-14 20:14:02 +01:00
Oleg Zhurakousky
f506da758f
Upgraded doc resources version
2019-03-14 19:45:47 +01:00
Oleg Zhurakousky
12a528fd88
Polishing docs styles
2019-03-14 19:19:42 +01:00
Spring Operator
4b138c4a2f
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch migrated to:
https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch ([https](https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch ) result 200).
* http://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin migrated to:
https://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin ([https](https://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* http://projects.spring.io/spring-cloud migrated to:
https://projects.spring.io/spring-cloud ([https](https://projects.spring.io/spring-cloud ) result 301).
* http://www.spring.io migrated to:
https://www.spring.io ([https](https://www.spring.io ) result 301).
* http://repo.spring.io/libs-milestone-local migrated to:
https://repo.spring.io/libs-milestone-local ([https](https://repo.spring.io/libs-milestone-local ) result 302).
* http://repo.spring.io/libs-release-local migrated to:
https://repo.spring.io/libs-release-local ([https](https://repo.spring.io/libs-release-local ) result 302).
* http://repo.spring.io/libs-snapshot-local migrated to:
https://repo.spring.io/libs-snapshot-local ([https](https://repo.spring.io/libs-snapshot-local ) result 302).
* http://repo.spring.io/release migrated to:
https://repo.spring.io/release ([https](https://repo.spring.io/release ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-13 18:38:53 -04:00
Oleg Zhurakousky
0af784aaa9
GH-559 Initial migration of docs to new style
...
Resolves #559
2019-03-13 16:40:45 +01:00
Soby Chacko
0deb8754bf
Remove producer partitioned property
...
On the producer side, partitioned is a derived property and the applications do not
have to set this explicitly. Remove any explicit references to it from the docs.
Fixes #542
2019-03-05 13:49:23 -05:00
Soby Chacko
95a4681d27
KTable input validation
...
KTable as input binding doesn't work if @input is not specified at parameter level.
Restructuring the input validation in Kafka Streams binder where it checks for declarative
inputs.
Fixes #536
2019-03-04 16:20:18 -05:00
Soby Chacko
b4a2950acd
KafkaStreamsStateStore with multiple input bindings
...
When KafkaStreamsStateStore annotation is used on a method with multiple input bindings,
it throws an exception. The reason is that each successive input binding after the first one
is trying to recreate the store that is already created. Fixing this issue.
Resolves #551
2019-02-28 16:31:38 -05:00
Gary Russell
c5c81f8148
SGH-1616: Add MessageSourceCustomizer
...
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/1616
2019-02-28 13:44:14 -05:00
Arnaud Jardiné
d80e66d9b8
Actuator health for Kafka-streams binder
...
Add documentation about health indicator
Fix failing tests + add tests for multiple Kafka streams
Polishing
Resolves #544
2019-02-14 16:26:56 -05:00
Soby Chacko
86c9704ef4
Fix metrics with multi binders
...
Kafka binder metrics is broken with a multi-binder configuraiton.
Fixing the issues by propagating the MeterRegistry bean into the
binder context from parent.
Adding test to verify.
Removing the formatter plugin from the parent pom.
Resolves #546
Resolves #549
2019-02-14 09:25:11 +01:00
Gary Russell
63a4acda1b
Fix test for SK 2.2.4
...
Override deserializer getters in test consumer factory because the
defaults incorrectly throw an `UnsupportedOperationException`.
See https://github.com/spring-projects/spring-kafka/pull/963
2019-02-13 16:28:13 -05:00
Gary Russell
31a6f5d7e3
GH-531: Fix test
...
- resolve conflict with another test that used `EnableBinding(Sink.class)`.
2019-02-07 12:44:32 -05:00
Aldo Sinanaj
4d02c38f70
GH-531: Support tombstones on input/output
...
GH-531: Set test timeout to 10 seconds
GH-531: Polishing - Fix @StreamListener
Added test for `@StreamListener`.
2019-02-07 09:01:54 -05:00
Oleg Zhurakousky
c22c08e259
GH-1601 satellite changes to the core
2019-02-05 07:08:48 +01:00
Soby Chacko
02e1fec3b4
Checkstyle upgrade
...
Upgrade checkstyle plugin to use the rules from spring-cloud-build.
Fix all the new checkstyle errors from the new rules.
Resolves #540
2019-02-04 18:11:10 -05:00
Soby Chacko
fb91b2aff9
Temporarily disabling the checkstyle plugin
2019-02-04 12:27:29 -05:00
Oleg Zhurakousky
a881b9a54a
Created 2.2.x branch
2019-02-04 10:46:24 +01:00
Aldo Sinanaj
fc92a6b0af
GH-389: Topic props: Use .topic instead of .admin
...
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/389
GH-389: Deprecated [producer/consumer].admin in favor of topic property
GH-389: Fixed comments as suggest by Gary
Polishing - 2 more deprecation warning suppressions
2019-01-29 15:16:38 -05:00
Gary Russell
d65e8ff59d
GH-529: Add lz4 and docs for zstd compression
...
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/529
- Also log exception when getting partition information
2019-01-16 12:49:12 -05:00
buildmaster
9948674f30
Bumping versions to 2.1.1.BUILD-SNAPSHOT after release
2019-01-08 11:53:04 +00:00
buildmaster
cfc1e0e212
Going back to snapshots
2019-01-08 11:53:04 +00:00
buildmaster
4bd206f37f
Update SNAPSHOT to 2.1.0.RELEASE
2019-01-08 11:51:00 +00:00
Oleg Zhurakousky
9d1d90e608
Upgraded to spring-kafka 2.2.2
2019-01-07 16:25:23 +01:00