Commit Graph

1068 Commits

Author SHA1 Message Date
Oleg Zhurakousky
cfa63c6dc6 added binder imple links to docs 2018-10-30 13:46:58 +01:00
Oleg Zhurakousky
bdcdf5074b Fixed broken image link 2018-10-29 12:34:44 +01:00
Oleg Zhurakousky
85cc6187a0 Upgraded to spring-cloud-functions 2.0.0.RC1 2018-10-29 12:01:20 +01:00
Oleg Zhurakousky
baa67282c7 Bumping versions 2018-10-26 13:10:23 +02:00
Oleg Zhurakousky
fe28ae0152 pushing generated README 2018-10-26 11:29:26 +02:00
Oleg Zhurakousky
09f3b890e7 GH-1516 polishing core docs 2018-10-26 11:25:54 +02:00
Oleg Zhurakousky
51a880b9ee pushing generated README 2018-10-26 10:55:03 +02:00
Oleg Zhurakousky
da26779fb0 GH-1516 Initial migration of docs to spring-cloud 2018-10-26 10:24:33 +02:00
Marcin Grzejszczak
80e8541085 Going back to snapshots 2018-10-24 11:50:35 +02:00
Marcin Grzejszczak
be67c92f07 Update SNAPSHOT to 2.1.0.M4 2018-10-24 11:42:13 +02:00
Marcin Grzejszczak
d4e96349da Adjusting things for the releaser 2018-10-24 11:31:01 +02:00
Vitali Zarembouski
7e6864e4fc support schema-type union
Resolves #1466
2018-10-24 10:58:12 +02:00
Oleg Zhurakousky
d4b5431a67 GH-1510 Fixed multiple subscribers to error channel
Ensured that in the event the binding specific error channel is an instance of the DirectChannel, no more subscribers are addeed after the initial one
Added tests

Resolves #1510
Resolves #1514
2018-10-24 08:26:07 +02:00
Oleg Zhurakousky
28990fe995 GH-1425 Added support for type-aware channels
Resolves #1425
2018-10-23 13:36:13 +02:00
Oleg Zhurakousky
43aaaf8263 GH-1493 Fixed type assertion on AC in AbstractBinder
Resolves #1493
2018-10-23 09:01:04 +02:00
Soby Chacko
fd7ca98547 Docs update for schema registry
Update default value for spring.cloud.stream.schemaRegistryClient.cached to false. It was
incorrectly specified with a default value of true.
2018-10-22 16:03:36 -04:00
Oleg Zhurakousky
5c9fb07677 polishing doc
Resolves #1504
2018-10-22 12:51:42 +02:00
Soby Chacko
8e7b6bc7f6 Improve health indicator documentation
Resolves #1502
2018-10-22 12:51:23 +02:00
Soby Chacko
3402f9d03b Test changes for extended default properties
Polishing
2018-10-15 15:54:30 -04:00
Oleg Zhurakousky
10e85429e0 GH-1503 Updated properties merge and bind logic 2018-10-14 13:48:53 -04:00
Mike Kasberg
ee13dd1822 Fix a few broken links
Resolves #1499
2018-10-10 21:38:00 -07:00
Gary Russell
1479dcdb47 GH-1497: Add test for colon in destination
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/1497

Fix was in Spring Integration.

Resolves #1501
2018-10-10 21:36:13 -07:00
Mike Kasberg
a61893ffdc Fix "Error Handling" adoc headings
Several of the Asciidoc headings were one level too deep inside the
"Error Handling" section. As a result, they rendered incorrectly.

It's clear from the introductory paragraph of the "Error Handling"
section that "Application Error Handling" and "System Error Handling"
should be siblings. But because the nesting level was too deep, they
were being rendered like this:

    - Error Handling
      - Application Error Handling
        - System Error Handling

Fixing the nesting level should resolve the problem.

Resolves #1500
2018-10-10 21:32:43 -07:00
Soby Chacko
60b6f02a49 Addressing snake_case properties binding
Related to #1495
2018-10-08 18:17:16 -04:00
Soby Chacko
0249867e63 Address camelCase properties binding issue
Because of a re-bind of properties that is needed to address the way
default properties are handled (See the prvious commit), camelCase
binding is broken. Fixing this issue with camelCase binding.

Resolves #1495
2018-10-08 17:45:47 -04:00
Soby Chacko
3b1f846179 Default property binding changes
* Both core and extended consumer/producer properties must behave in a consistent manner.
* Default binding properties must apply onto the individual binding properties that are NOT set
* Individual binding properties that ARE set must take precedence over the default binding properties (treated as an override)
* Add unit test to verify

Resolves #1494
Resolves #1473
2018-10-08 10:31:34 -04:00
Oleg Zhurakousky
a9904ee202 added initail fixes for default properties merge 2018-10-05 13:30:11 -04:00
Oleg Zhurakousky
bf3db504af GH-1490 Fixed the docs
Resolves #1490
2018-10-03 11:29:31 -04:00
Oleg Zhurakousky
274a5a9676 Polishing previous commit
Resolves #1382
Resolves #1491
2018-10-03 08:55:48 -04:00
David Harrigan
125840ddeb Add (javax.)Validation Support for Stream Listener
This change allows StreamListener method arguments annotated with @Valid to be
validated against a registered Validator.

Resolves #1382

-=david=-
2018-10-03 08:39:42 -04:00
Oleg Zhurakousky
7f098cf11d GH-1492 Fixed AggregatorTests
Resolves #1492
2018-10-03 08:35:17 -04:00
Soby Chacko
fcbbd09502 Next update version: 2.1.0.BUILD-SNAPSHOT 2018-09-21 11:30:28 -04:00
Soby Chacko
f498323f61 2.1.0.M3 Release 2018-09-21 10:42:22 -04:00
Oleg Zhurakousky
99289b31bd Polishing, avoiding NPE for when functions are not present
Rebased and fixed merge conflicts

Resolves #1481
Resolves #1480
2018-09-21 12:07:04 +02:00
Ilayaperumal Gopinathan
a0b4617ac7 Add function support for sink
- Update IntegrationFlowFunctionSupport with the necessary changes to bind function, consumer, supplier
 - Add changes to AbstractMessageChannelBinder to add appropriate input/output message channel configuration to accommodate
function support
 - Upate tests

Resolves #1480
Resolves #1475

Test demonstrating the issue

Revert extra diffs

Updated changes
2018-09-21 11:44:23 +02:00
durigon
7450686cfe Refactor String#replaceAll
If we repeatedly call String#replaceAll, we internally repeatedly call the regular expression pattern compilation every time as following:
```java
    public String replaceAll(String regex, String replacement) {
        return Pattern.compile(regex).matcher(this).replaceAll(replacement);
    }
```
The modifications are to keep the compiled pattern.
Therefore, compiling a relatively expensive regular expression pattern does not have to be done every time.

Resolves #1486
2018-09-19 14:44:49 +02:00
Oleg Zhurakousky
72ee2fae5d GH-1485 polishing, cleanup and deprecation removal
Resolves #1485
2018-09-19 11:28:23 +02:00
Oleg Zhurakousky
1f3b6ed344 GH-1484 common strategy for extended binding properties
Resolves #1484
2018-09-19 10:41:32 +02:00
Oleg Zhurakousky
c8e9306bc8 polishing
Resolves #1477
2018-09-18 18:53:18 +02:00
Soby Chacko
07b5a691d4 Support extended default properties
Currenlty, we only support default properties for core producer/consumer (spring.cloud.stream.default.producer|consumer...).
These changes add support for configuring default properties for extended producer and consumer properties.

For example, if the binder type is foo, then this allows the applications to configure default properties across
multiple producer or consumer bindings in the form of spring.cloud.stream.foo.default.producer|consumer.property.

The default prefixes for the extended properties are dictated by the respective binder implementations.

Resolves #1360

Manual merging for Map in MergableProperties

Handling values with defaults in extended producer/consumer properties
2018-09-18 18:52:46 +02:00
Oleg Zhurakousky
056898b2ca GH-1457 Added initilal additional-spring-configuration-metadata.json
Resolves #1457
2018-09-13 15:44:06 +02:00
Oleg Zhurakousky
fc8227e42b GH-1460 polishing
Added use of CollectionUtils

Resolves #1468
2018-09-10 17:42:40 +02:00
Gary Russell
de6aa8986b GH-1460: Configurable Exceptions for Retry
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/1460
2018-09-10 16:44:56 +02:00
Gary Russell
d7e88a3a9c GH-1459: Pollable Consumer and Requeue
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/1459

Add a mechanism to cause a requeue of the current message.

Polishing - PR Comments - simpler logic, no configuration needed.

Polishing

Resolves #1467
2018-09-10 16:28:42 +02:00
Oleg Zhurakousky
e4a82107d8 GH-1465 Polishing function support for channel binder
Removed BinderFunctionSupport in favor of private method (at least for now)
Removed 'context.getBean()` from IntegrationFlowFunctionSupport in favor of propper DI

Resolves #1465
2018-09-09 14:36:19 +02:00
David Turanski
c3fdbb93dc GH-1465 Added Function support to channel binder
Move IntegrationFlowFunctionSupport injection to AbstractBinder

Add function support in TestSupportBinder and fix *FunctionsSupportTests

Use BeanPostProcessor and revert TestSupportBinder

Clean up

Set errorChannel in afterPropertiesSet

Refactor IntegrationFlowFunctionSupportWiring

Close context

Revert context.close()
2018-09-09 14:36:19 +02:00
d.kanehira
268b0197ff Simplify code 2018-09-08 02:00:28 +09:00
Alberto Rios
d71cffda55 Updating links in doc for binders
Resolves #1463
2018-09-04 18:11:52 +02:00
Gary Russell
7147a1f901 KBGH-435: Use transactional producer config
See https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/435

Allow binder implementations to override the `useNativeEncoding` producer property.

Resolves #1464
2018-09-04 18:10:17 +02:00
David Turanski
ec19db27b4 Make IntegrationFlowFunctionSupport public again 2018-08-29 10:10:00 -04:00