Commit Graph

976 Commits

Author SHA1 Message Date
jmaxwell
e3393b98ca GH-1301 Add conversion to Flux Message Payload.
Resolves #1301
Resolves #1302
2018-06-25 23:09:29 -04:00
Oleg Zhurakousky
d8b1b7036b General code cleanup 2018-06-25 23:03:50 -04:00
Oleg Zhurakousky
ed228dae59 polishing 2018-06-25 18:09:22 -04:00
Oleg Zhurakousky
da9658ef1f GH-1359 Added support for property precedence
Ensured that default property only takes affect if the actual binding property is not set.
For example if "spring.cloud.stream.bindings.output.producer.partitionCount=4" and "spring.cloud.stream.default.producer.partitionCount=1" are both set
the actual binidng property (i.e., 4)  should take precedence

Resolves #1359
2018-06-25 17:06:34 -04:00
Oleg Zhurakousky
9f3f49eff0 Revert "Prevent SpringBootApplication starting to overlap with user defined Application."
This reverts commit 66b7d8dbe4.
2018-06-18 13:44:33 -04:00
Oleg Zhurakousky
f3a18e6e83 GH-1384 Set application's context as binder context
Set application's context as binder context once the binder is initialized to ensure identical behavior in i multi-environment scenarios.
Resolves #1384
Resolves #1357
2018-06-18 08:19:58 -04:00
Guilherme Blanco
66b7d8dbe4 Prevent SpringBootApplication starting to overlap with user defined Application.
Fixes #1391
Resolves #1393
2018-06-15 14:20:46 -04:00
Oleg Zhurakousky
3ebea011bf GH-1389 Added support for output binding control
Added missing support for visualization and control of output binding
Resolves #1389
2018-06-13 19:59:54 -04:00
Oleg Zhurakousky
146576d368 GH-1385 Enhance bean registration error
Enhanced bean registration error message in the event  multiple bindings point to the same destination
Resolves #1385
Resolves #1390
2018-06-13 14:33:51 -04:00
Artem Bilan
8f5b63ef84 GH-1387: Make PartitioningInterceptor as public
Fixes spring-cloud/spring-cloud-stream#1387

To be able to distinguish the `PartitioningInterceptor` in the
`MessageChannel` and remove it from the interceptor it would be better
to have its class as `public`

In some use-case like AWS Kinesis Binder it is important do not have
an SCSt partitioning logic, since the whole functionality is done
on the target system.

**Cherry-pick to 2.0.x**
2018-06-08 13:51:03 -04:00
Sabby Anandan
f1dbea98dc Add SCSt's data integration journey
Address review comments

Resolves #1358
Resolves #1373
2018-05-15 17:22:06 +02:00
Gary Russell
1b57c91713 Add useNativeDecoding Consumer Property
Fixes https://github.com/spring-cloud/spring-cloud-stream/issues/1369

Also fix a couple of typos and bugs in code snippets that broke syntax highlighting in Atom.

Resolves #1370
2018-05-15 15:30:40 +02:00
Soby Chacko
624a25fc92 Remove RxJava components from the reactive module
Remove all the deprecated RxJava components from spring-cloud-stream-reactive module in favor
of using Project Reactor based types.

Fixes #1378
Resolves #1379
2018-05-15 15:26:34 +02:00
Oleg Zhurakousky
66254ca9f6 GH-1272 Removal of parent/child context
Initial removal of parent/child context for Binders. This commit contains bare minimum of what's required while still supporting 'the old way'.
Basically implementor of a binder must do the following things:
- name your configuration file as the usual boot 'spring.factories` (no more spring.binders)
- add name attribute to the `@Bean` which declares the actual binders (e.g., `@Bean('rabbit')`)

This PR ensures that the existing functionality (the use of spring.binders) is preserved.

Resolves #1272
Resolves #1361

polishing
2018-04-27 11:04:21 -04:00
Oleg Zhurakousky
7be8ea59e9 Polishing, formatting
Resolves #1366
2018-04-27 08:55:19 +02:00
Soby Chacko
61bce52722 Native multiple input binding changes
If the binder implementation enables native multiple input binding, skip individual
consumer binding per binding target (for example - from a comma separated targets
provided as input destination property).

By default, native multiple input binding is disabled at the core framework level
and the binder implementation explicitly needs to override that to enable it.

Fixes #1365

Chaning the boolean flag for multiple input binding to multiplex
2018-04-27 08:53:32 +02:00
Oleg Zhurakousky
92f6d4556c GH-1354 Added version header to Metric Message
Resolves #1354
Resolves #1356

polishing
2018-04-13 17:32:05 +02:00
Artem Bilan
d459ebdf4a Fix NOTE typo in the Core Doc
**Cherry-pick to 2.0.x**
2018-04-12 14:30:56 -04:00
Oleg Zhurakousky
baa2581725 Post-release update to 2.1.0.BUILD-SNAPSHOT 2018-04-06 14:48:33 -04:00
Oleg Zhurakousky
e6cff0c6e6 2.0.0.RELEASE 2018-04-06 13:54:04 -04:00
Oleg Zhurakousky
22e2401a51 Updated to Spring Cloud Build 2.0.0.RELEASE 2018-04-06 12:37:24 -04:00
Oleg Zhurakousky
8373e135f4 GH-1351 changed to Step meters
GH-1351 added interval field to Applicationmetrics

Resolves #1351
Resolves #1352
2018-04-06 12:32:37 -04:00
Oleg Zhurakousky
6d29ade3bf GH-1256 Polishing Health Indicator section
Resolves #1344
Resolves #1256
2018-04-06 09:45:09 -04:00
Soby Chacko
f4e7b2fce7 Revise health indicator docs
Resolves #1256

Addressing PR review comments
2018-04-06 09:38:45 -04:00
Soby Chacko
35a771a352 Revise Schema Registry docs
Resolves #1311
Resolves #1343

Addressing PR review comments

Addressing PR review comments

Addressing PR review comments

Addressing PR review comments
2018-04-06 09:35:06 -04:00
Oleg Zhurakousky
d012a7da17 GH-1248 Updated Programming Model section
GH-1248 Removed 'Accessing Bound Channels' section

GH-1248 Removed 'Aggregation' section

Resolves #1248
Resolves #1348
Resolves #1346
2018-04-06 09:32:04 -04:00
Oleg Zhurakousky
b8711066e2 GH-1294 Fixed NPE in AvroSchemaRegistryClientMessageConverter
The NPE was a result of not following defensive programming practices and that is fixed.
Also, we already support both reader and writer schema being null where new ReflectDatumReader(type) is used in getDatumReader(..)  operation.
That said there may still be conditions which are not supported and that is okay since in the end it's a MessageConverter and as such it is one
of the extension points of the framework allowing user to provide a custom one follwing instructions in 'User-defined Message Converters' of the reference guide.

Resolves #1294
2018-04-02 16:47:46 -04:00
Sabby Anandan
1142136fca Adjust image-width 2018-04-02 08:23:56 -07:00
Oleg Zhurakousky
f5fb5b35a6 Polishing error-handling doc section 2018-04-02 10:44:39 -04:00
Oleg Zhurakousky
819b3047d5 GH-1335 Provided more clarity in Error Handling section
Resolves #1335
2018-04-01 12:05:26 -04:00
Sabby Anandan
9b0a646da4 Add visual representation for custom vs. global error handling 2018-03-31 12:12:00 -07:00
Oleg Zhurakousky
a48739e905 GH-1332 Fixed ClassCastException
Removed casting to byte[] in SendingHandler.serializeAndEmbedHeadersIfApplicable(..)

Resolves #1332
2018-03-30 16:57:38 -04:00
Oleg Zhurakousky
3d0811b701 GH-1333 created Error Handling section
Resolves #1333
Resolves #1334
2018-03-30 15:48:34 -04:00
Oleg Zhurakousky
f411442887 GH-1330 Fixed inconsistency
Resolves #1330
2018-03-30 14:41:48 -04:00
Oleg Zhurakousky
4bb54418df GH-1251 added references to property classes
Resolves GH-1251
2018-03-27 11:47:05 -04:00
Oleg Zhurakousky
0656c23f1e GH-1327 Fixed NPE due to change to Duration
Resolves #1327
2018-03-26 07:58:44 -04:00
Oleg Zhurakousky
7d5f7f9e8a GH-1257 Updated Metrics documentation
Resolves #1257
Resolves #1326
2018-03-24 07:48:33 -04:00
Oleg Zhurakousky
60fc252b1e GH-1324 Restored support for the old format of metric Message
- brought back the Metric class from the old boot
- modified Metric class slightly to adjust for the type of info available thru micrometer
- added 'meterFilter' property for metric filtering

Resolves #1324
2018-03-23 09:08:59 -04:00
Oleg Zhurakousky
6379c3354b Polished few additional compile warnings
Resolves #1321
2018-03-21 16:27:09 -04:00
Soby Chacko
ae74c21720 Fixing compiler warnings
Fixing unchecked and deprecation warnings
Polishing

Resolves #1318
2018-03-21 14:55:22 -04:00
Soby Chacko
9556fc5ffc Deprecating RxJava components in the reactive module
Resolves #1317
Resolves #1320
2018-03-21 12:50:25 -04:00
Oleg Zhurakousky
4a9806a1b1 Docs polishing
Resolves #1313
Resolves #1303
2018-03-21 10:56:48 -04:00
Jay Bryant
5d5378b88d Full editing pass for Spring Cloud Stream core docs
I corrected spelling and grammar and edited for a corporate voice. I also added a few links and an image.
2018-03-20 09:18:24 -05:00
Soby Chacko
3d76fb40a2 Add ConditionalOnMissingBean on SchemaRegistryClient configuration
Resolves #1307
Resolves #1308
2018-03-16 17:38:31 -04:00
Oleg Zhurakousky
a972cdeaba GH-1306 Fixed 'originalContentType' reset to 'contentType'
Ensured that contentType header is set not only when it is not present but also reset if 'originalContentType' is present (to support 1.3 to 2.0 scenarios)

Resolves #1306
2018-03-16 14:26:11 -04:00
Soby Chacko
3d649e8e6a Back to 2.0.0.BUILD-SNAPSHOT 2018-03-12 16:29:38 -04:00
Soby Chacko
1bcfb8cd4a 2.0.0.RC3 Release 2018-03-12 15:13:46 -04:00
Gary Russell
12bd608908 Fix more trailing whitespace (tabs) 2018-03-12 10:26:46 -04:00
Gary Russell
e1fc583d1e Fix all trailing whitespace 2018-03-12 09:56:32 -04:00
Oleg Zhurakousky
ed9cfab3b4 GH-1297 Fixed BindingServiceProperties default binding
Fixed BindingServiceProperties default binding to accept SpelConverter

Resolves #1297
2018-03-12 08:05:18 -04:00