Commit Graph

349 Commits

Author SHA1 Message Date
bamboo
082e5e7330 [artifactory-release] Release version 1.0.0.M4 2016-02-04 19:38:44 +00:00
Marius Bogoevici
62a60a4d47 Pre-release: update Spring Cloud versions and repository locations for Module Launcher 2016-02-04 14:06:14 -05:00
Marius Bogoevici
f88a49eaa7 GH-312 Add default constructor for TupleBuilder
Resolves #312

The TupleBuilder in XD provided a zero arg constructor. This restores backward compatibility by adding it back.
2016-02-04 14:04:41 -05:00
Marius Bogoevici
44c2192f36 Add instructions for running multibinder examples. 2016-02-04 13:58:09 -05:00
Marius Bogoevici
ebc0234a67 Remove direct references to snapshots and rely on project.version instead 2016-02-04 13:27:26 -05:00
Ilayaperumal Gopinathan
490baef8ac Update doc for multibinder sample apps
Update samples ascii doc
2016-02-04 12:14:24 -05:00
Marius Bogoevici
a854e986aa Revert to Rabbit version provided by Spring Boot/Cloud
At the time of the commit it is 1.5.3.RELEASE, but it will pull the version as per the Spring Cloud parent version.
2016-02-04 11:36:35 -05:00
Ilayaperumal Gopinathan
3e10eac8ac Update docbook copyright year 2016-02-04 21:55:30 +05:30
Mark Fisher
944c100576 doc polishing 2016-02-04 10:44:08 -05:00
Marius Bogoevici
b490b6b73d Adding binder docs + 1.0.0.M4 updates
Health indicators
2016-02-04 09:04:00 -05:00
Mark Fisher
7ffe9070e3 removed more lattice references 2016-02-04 08:55:07 -05:00
Ilayaperumal Gopinathan
32c727a5d4 Remove lattice profile usages/references 2016-02-04 13:40:53 +05:30
Ilayaperumal Gopinathan
9c381d3b26 Fix exception type in kafka topic validation test 2016-02-04 12:48:42 +05:30
Mark Fisher
252aee4079 polishing 2016-02-03 19:51:17 -05:00
Marius Bogoevici
8271478e27 GH-306 Add support for start offset and reset flag
Resolves #306

Fix configuration property passing

Adjust property names, fix environment merging from parent
2016-02-03 19:32:51 -05:00
Ilayaperumal Gopinathan
8f795074e9 Allow underscore in kafka topic name
- Instead of escaping the topic name, perform validation that throws `RuntimeException` when the given kafka topic name doesn't meet the criteria set by Kafka.

This resolves #217
2016-02-03 15:34:10 -05:00
Dave Syer
e9286c849a Add spring-rabbit explicitly to the dependencies BOM
It actually still has to be managed using a property in
spring-cloud-stream-binders-parent, but this change is for users.
Any user that wants an app using stream and rabbit needs to use the
spring-cloud-dependencies BOM. A gradle user has to do nothing else
with this change. A maven user still has to add an explicit
<spring-aqmp.version/> to the application POM.
2016-02-03 09:05:20 +00:00
Eric Bottard
7fb834981a GH-291 Provide an option to create a mutable Tuple
This fixes spring-cloud/spring-cloud-stream#290
2016-02-02 17:23:43 -05:00
Marius Bogoevici
7477fcbee9 Add health indicators infrastructure
- Adds a generic 'bindersHealthIndicator' bean controlled by `management.health.binders.enabled` that tallies results from binders
- Binders are expected to expose one or more health indicators based on the status of the middleware connection. If no health indicators are exposed, the status is deemed to be 'UNKNOWN'
- Add support for Redis and Rabbit based on existing health indicators

Moved binder health indicator to autoconfiguration

Also updated copyright
2016-02-02 22:15:33 +05:30
Ilayaperumal Gopinathan
a2486db905 Module launcher JMX domain name
- Module launcher needs to use its own jmx domain name so that it doesn't collide with any other default domains regisetered.

This resolves #286
2016-02-01 23:29:15 -05:00
Marius Bogoevici
2f330c7bc4 Minor polishing on dynamic channel binding 2016-02-01 22:48:48 -05:00
Gary Russell
16e7893e49 scsm-88: Support Dynamic Binding Channel Limits
Required by scsm-88.

If `dynamicDestinations` is not zero length, only dynamically bind if
the channel is is in the list.

Polishing - Test Support for Dynamic Bindings
2016-02-01 22:48:48 -05:00
Marius Bogoevici
31961ae595 Add support for durable subscriptions in Redis 2016-01-29 19:04:12 -05:00
Ilayaperumal Gopinathan
73abe565fd Fix boolean getter methods
- on BindingProperties
2016-01-28 23:05:15 +05:30
Ilayaperumal Gopinathan
40709fbf14 Add durableSubscription as a binding property
- This will be updated as a binder consumer property for the key `durableSubscription`

This resolves #293
2016-01-28 10:27:33 -05:00
Dave Syer
dfe78f6d32 Fix Spring AMQP dependencies temporarily 2016-01-28 09:00:46 +00:00
Gary Russell
e2485e3290 Clean Up Auto-Declare Context on Unbind 2016-01-27 22:00:08 -05:00
Marius Bogoevici
192aa79baa Remove default groups, support default pubsub with empty group
Addressing PR comments
2016-01-27 21:59:58 -05:00
Mark Fisher
c3758b9dc0 Binder simplification
* removed pub/sub methods from binder
* consumer group is now a parameter of the remaining bindConsumer method

* remove DynamicProducer from Binder
* Move logic to create the dynamic channel to the channel resolver.
* Return bindings from bind methods and use them for unbinding
* Suffix for dlq

Move All Rabbit Binder CleanUp to Test Bindera

More RabbitMQ Binder Test Cleanup

Clean up declarations for remaining tests.

removed BinderUtils

use Redis ZSET for consumer groups

copyright dates

AutoBindDLQ: Single DLQ Per Group When Partitioned

Configure a single DLQ for each group for all partitions.

Add DLX Exchange binding for each original queue routing key, including the partition.

Fix DLQ Binding (Producer Side)

Option was not allowed and the routing key was wrong.

Add test to verify producers can be bound before consumers.

`autoBindDLQ` must be set (or reset) on both sides for success.
2016-01-27 21:59:58 -05:00
Soby Chacko
60e44b530d Kafka Test Support
-minor change in KafkaTestSupport to add a getter for KafkaServer.
2016-01-27 17:37:04 -05:00
Ilayaperumal Gopinathan
e792b0e347 Use LocalizedQueueConnectionFactory from Spring AMQP
- Remove LocalizedQueueConnectionFactory and the unit tests
   - The unit tests are already covered in Spring AMQP and also, certain methods accessors require public access to run tests from SCS
 - Kept the integration tests as is (though this can be removed as well - it is also covered in Spring AMQP)

This resolves #279
2016-01-19 09:22:53 -05:00
Ilayaperumal Gopinathan
31ae416727 Remove Spring XD tuple dependency
- Use spring-cloud-stream-tuple instead

This resolves #280
2016-01-19 19:09:24 +05:30
Marius Bogoevici
c300c95be1 GH-274 Fixes for AggregatedApplication
Resolves #274.

* Handle @Autowired(required=false) correctly when no `Bindable` beans are present (i.e. aggregated root context)
* Ensure separate domains per subcontext
* Register shared channels internally with the proxy

Update copyrights and address comments
2016-01-14 11:24:59 +05:30
Dave Syer
8036c6712e Add spring profiles for repos 2016-01-08 13:16:38 +00:00
Dave Syer
a036e5ed04 Add extra dependencies module 2016-01-08 12:33:54 +00:00
Ilayaperumal Gopinathan
fa89e5bcb6 Handle binder config in BindingProperties
- Per-binding properties defined in `BindingProperties` need to hold the binder specific configurations needed when binding producer/consumers.
Previously, these were added in `ChannelBindingServiceProperties` as producer/consumer properties. Since these configuration properties are for
per-binding based on the input/output (consumer/producer) channel being bound it is better to move these properties into `BindingProperties`.
 - Add some of the supported producer/consumer properties into BindingProperties

- This fixes #256

Rename CommonBinderProperties -> BinderPropertyKeys

Rename class AbstractBinderPropertiesAccessor.java -> AbstractBindingPropertiesAccessor.java
2015-12-30 14:08:56 -05:00
Mark Pollack
373dd12fbb Change remoteRepositories default to libs-snapshot post release 2015-12-22 10:45:43 -05:00
Ilayaperumal Gopinathan
e858e0ba81 Correct BindingProperties' toString() 2015-12-22 20:37:57 +05:30
Ilayaperumal Gopinathan
2df173202d Fix PartitionedConsumerTest's local variable name 2015-12-22 19:52:14 +05:30
Ilayaperumal Gopinathan
62865679a7 Remove tap sample
Use correct URL
2015-12-22 00:22:06 -05:00
Mark Pollack
b9b09b08b8 Change remoteRepositories default to libs-milestone for M3 release 2015-12-21 18:00:53 -05:00
Mark Fisher
98863db7c2 reverted to snapshot repo for module resolution 2015-12-21 17:07:34 -05:00
bamboo
b869cb8c4b [artifactory-release] Next development version 2015-12-21 17:18:25 +00:00
bamboo
f3d46fc120 [artifactory-release] Release version 1.0.0.M3 2015-12-21 17:18:25 +00:00
Mark Pollack
17d49bebde Default repository location for ModuleResolverProperties should be libs-milestone 2015-12-21 11:53:48 -05:00
Ilayaperumal Gopinathan
7550a89a25 Fix doc 2015-12-21 13:25:21 +05:30
Gary Russell
7ee5df4033 RabbitMQ Cleanup (New Tests).
Simple polishing.
2015-12-18 22:24:12 -05:00
Ilayaperumal Gopinathan
100a68c1bf GH-196 Add Message History Tracking
- Add `MessageChannelConfigurer` that any class that configures the message channel would implement
   - Have `message-converter` and `message-history-tracking` configurer implement this interface
  - Autowire all available configurers and use them to configure the message channel
  - For the message history tracking
    - add `channel-binding` properties as part of message header along with `timestamp`

 - Introduce CompositeMessageChannelConfigurer

Remove field injection of messageChannelConfigurer

Add tests for message track history configurer

Add content-type configurer test

Address review comments

 - Add `toString` to BindingProperties
 - Add test case to depict producer/consumer properties

Remove processor channels from tests
2015-12-18 20:13:40 -05:00
Mark Pollack
001ad52f4a Add additional doc correction 2015-12-18 16:59:29 -05:00
Marius Bogoevici
7b077817e5 GH-240 GH-235 Documentation review, partitioning
* Add multibinder docs

Resolves #240, #235
2015-12-18 16:52:39 -05:00