Updated properties and README for Kafka and AMQP

resolves #745
This commit is contained in:
Glenn Renfro
2020-12-03 14:14:35 -05:00
parent 2cba0f223a
commit 89e38084e9
5 changed files with 64 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
spring.batch.job.amqpitemreader.name=testreader
spring.cloud.task.closecontextEnabled=true
spring.batch.job.amqpitemreader.enabled=true
spring.rabbitmq.template.defaultReceiveQueue=samplequeue
spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672

View File

@@ -0,0 +1,3 @@
spring.batch.job.amqpitemwriter.enabled=true
spring.cloud.task.closecontextEnabled=true
spring.rabbitmq.template.exchange=sampleexchange

View File

@@ -0,0 +1,8 @@
spring.kafka.consumer.bootstrapServers=localhost:9092
spring.batch.job.kafkaitemreader.name=testreader
spring.kafka.consumer.groupId=1
spring.kafka.consumer.bootstrapServers=localhost:9092
spring.kafka.consumer.valueDeserializer=org.springframework.kafka.support.serializer.JsonDeserializer
spring.kafka.consumer.keyDeserializer=org.springframework.kafka.support.serializer.JsonDeserializer
spring.batch.job.kafkaitemreader.topic=sampletopic
spring.batch.job.kafkaitemreader.pollTimeOutInSeconds=2

View File

@@ -0,0 +1,4 @@
spring.kafka.producer.bootstrapServers=localhost:9092
spring.kafka.producer.keySerializer=org.springframework.kafka.support.serializer.JsonSerializer
spring.kafka.producer.valueSerializer=org.springframework.kafka.support.serializer.JsonSerializer
spring.batch.job.kafkaitemwriter.topic=sampletopic