Skip to content

Commit

Permalink
Merge pull request #254 from tst-labs/CONFIGURA-KAFKA
Browse files Browse the repository at this point in the history
Deixa as configurações do kafka visíveis mas desabilitado
  • Loading branch information
tiagoben authored Feb 11, 2022
2 parents 1d55d52 + c5791cb commit a8b485c
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions src/esocial-jt-service/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,15 @@ management.endpoints.web.cors.allowed-origins=*
management.endpoints.web.cors.allowed-methods=*

#Kafka
#Preencha os valores abaixo caso queira receber ocorrencias via Kafka
#spring.kafka.bootstrap-servers=localhost:9092
#spring.kafka.properties.reconnect.backoff.ms=30000
#spring.kafka.properties.reconnect.backoff.max.ms=360000
#spring.kafka.producer.value-serializer=br.jus.tst.esocialjt.util.KafkaSerializer
#spring.kafka.producer.properties.spring.json.add.type.headers=false
#spring.kafka.consumer.group-id=esocial-jt-service
#spring.kafka.consumer.auto-offset-reset=earliest
#kafka.autostart=true
#esocial-jt-ocorrencia-topic=esocial-jt-ocorrencia
#esocial-jt-ocorrencia-resp-topic=esocial-jt-ocorrencia-resp


#Preencha o valor abaixo como true caso queira receber ocorrencias via Kafka
kafka.autostart=false
spring.kafka.bootstrap-servers=localhost:9092
spring.kafka.properties.reconnect.backoff.ms=30000
spring.kafka.properties.reconnect.backoff.max.ms=360000
spring.kafka.producer.value-serializer=br.jus.tst.esocialjt.util.KafkaSerializer
spring.kafka.producer.properties.spring.json.add.type.headers=false
spring.kafka.consumer.group-id=esocial-jt-service
spring.kafka.consumer.auto-offset-reset=earliest
spring.kafka.consumer.max-poll-records=10
esocial-jt-ocorrencia-topic=esocial-jt-ocorrencia
esocial-jt-ocorrencia-resp-topic=esocial-jt-ocorrencia-resp

0 comments on commit a8b485c

Please sign in to comment.