Commit Graph

23 Commits

Author SHA1 Message Date
Ilayaperumal Gopinathan
b899ff0ffd Add StringDecoder for kafka messages
- Add StringDecoder for decoding kafka key/value messages

Refactor StringDecoder
2014-11-12 16:00:12 -05:00
Spring Buildmaster
bfdcd7ad1d [artifactory-release] Kafka Next development version 2014-11-12 09:23:19 -08:00
Spring Buildmaster
b28faa34d9 [artifactory-release] Release version Kafka 1.0.0.M2 2014-11-12 09:23:15 -08:00
Ilayaperumal Gopinathan
cad2be0496 INTEXT-111: Allow PP for Kafka producer context
JIRA: https://jira.spring.io/browse/INTEXT-111

 - Remove hard coded names for bean names at the producer context parser
 - Fix and update tests
 - Remove the use of `BeanFactory` to get the producerConfigurations in
KakfaProducerContext and use setter to set the producerConfigurations
 - Add logic to send the message from producer configuration when there
is no header specified for the topic and single producer configuration
is used.

Add tests to verify placeholder values

Fix code review comment and formatting

Polishing code style.

Add `KafkaProducerContext#theProducerConfiguration` for single `producerConfigurations` entry to avoid iterators
2014-11-12 11:20:49 +02:00
Ilayaperumal Gopinathan
325ee9a4f3 Kafka: PP for consumer context bean
JIRA: https://jira.spring.io/browse/INTEXT-112
https://jira.spring.io/browse/INTEXT-111

 - Avoid using hardcoded bean names for consumer context
 - Remove Integer value topic streams count, instead use string value
   - This will allow placeholder values to be used for `streams` attribute
 - Set `group-id` as a bean name for consumer configuration bean only if
   the group id is specified explicitly. This will allow placeholder values
   not being used as a bean name.
 - Add test cases to verify multiple consumer configurations within the
   same consumer context.

Set consumerConfigurations as propertyValue

Better handling of consumerConfigurations

 - Add getConsumerConfiguration(String groupId) in KafkaConsumerContext
   - Fix tests
 - Add additional test case to check multi consumer contexts

Fix getConsumerConfiguration(groupId)

Polishing
2014-08-20 21:11:08 +03:00
Ilayaperumal Gopinathan
501209384b Make ConsumerContext disposable
- This will allow shutting down the consumer connector for the consumer
configuration when the associated context no longer exists.
2014-08-19 13:11:07 +03:00
Artem Bilan
4b5ba00536 Kafka-GH-92: Allow PP for the <topic-filter>
Fixes https://github.com/spring-projects/spring-integration-extensions/issues/92
2014-08-19 13:07:54 +03:00
Soby Chacko
46d7567a77 INTEXT-104: Kafka: order for o-channel-adapter
JIRA: https://jira.spring.io/browse/INTEXT-104

`order` attribute now honored if kafka outbound adapter is connected to a subscribable channel
unit tests and samples are updated

Polishing: use `<xsd:attributeGroup ref="integration:channelAdapterAttributes"/>` for adapter tags to cover `SmartLifecycle` options.
2014-07-24 10:43:07 +03:00
Soby Chacko
07d45d69c1 INTEXT-110: Update Kafka version to 0.8.1.1
JIRA: https://jira.spring.io/browse/INTEXT-110

Perform the necessary API Changes (Partioner interface in Kafka is now non-genericized for Keys - concrete Object is the new type for Key)
Unit test updates for an internal Kafka class (MessageMetadata)
Updates for the samples Kafka project to use the new M2 snapshot, Spring 4.0 Messaging changes, other build related minor changes, etc.
2014-07-22 18:00:29 +03:00
Gary Russell
8dc41021b8 Update kafka to Spring Integration 4.0.3 2014-07-21 15:18:34 -04:00
Spring Buildmaster
7e0068b9df [artifactory-release] Next development version (kafka) 2014-07-21 12:16:41 -07:00
Spring Buildmaster
46b5cc438a [artifactory-release] Release version 1.0.0.M1 (kafka) 2014-07-21 12:16:37 -07:00
Artem Bilan
85378e5253 Kafka: KCCtx: return null if consumedData.isEmpty
Fixes: https://github.com/spring-projects/spring-integration-extensions/issues/68
2014-07-01 15:01:22 +03:00
Jonathan Pearlin
989ce89fed INTEXT-106: Update to spring-integration 4.0
JIRA: https://jira.spring.io/browse/INTEXT-106

* Upgrade to SI 4.0 and other libs
* Upgrade to Gradle 1.12
* Polisihng for `build.gradle`
* Fix compile warnings
2014-06-13 19:14:43 +03:00
Rajasekar Elango
b4a51d4cf5 INTEXT-92 Kafka: Add support for specifying any producer/consumer property
* Update README.md for producer and consumer properties usage
2013-11-19 17:12:13 -05:00
Rajasekar Elango
3e7b7d1331 INTEXT-77 Add Kafka topic filter support for producer + consumer
* Add tests
* Add samples
* Update readme

Jira: https://jira.springsource.org/browse/INTEXT-77
2013-10-28 17:06:52 -04:00
Soby Chacko
b28bf4b06c INTEXT-84 Kafka: Enhance Avro serialization support 2013-08-01 16:20:24 -04:00
Gunnar Hillert
bd173c8197 INTEXT-83 Update to Kafka 0.8.0-beta1 2013-07-16 16:58:04 -04:00
Gunnar Hillert
7d0806c773 INTEXT-81 Add unit tests 2013-07-15 12:44:08 -04:00
Kevin Eustice
86be5e1b78 INTEXT-81 Fixing bug in decoding message streams
* adding a null check on the key decoder

https://jira.springsource.org/browse/INTEXT-81
2013-07-15 12:43:04 -04:00
Gunnar Hillert
d9bcbdc14b Moved Kafka Test Context Files 2013-06-03 15:29:43 -04:00
Gunnar Hillert
5bf4b9871e INTEXT-44 - Polishing
* Upgrade to Gradle 1.6
* Upgrade Sonar plugin to SonarRunner
* Upgrade a few dependencies (e.g. JUnit, Spring Integration)
* Remove deprecations (e.g. JUnit)
* Convert spaces to tabs
* Add author tags
* Add @since
2013-06-03 00:15:14 -04:00
Soby Chacko
e46cbfdcb4 INTEXT-44 - Add Kafka Support
* Add Inbound adapter
* Add Outbound adapter
* Add serialization
* Initial Documentation
* Add unit tests
* Add async producer
* Support Kafka 0.8
* Add Kafka Sample

See: https://jira.springsource.org/browse/INTEXT-44
2013-06-03 00:15:01 -04:00