Gitlab - Argos ALM by PALO IT
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
poc-measure-kafka
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Luis Eduardo Oviedo Granados
poc-measure-kafka
Commits
6d5144d6
Commit
6d5144d6
authored
Aug 28, 2023
by
José Antonio Herrera Castillo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implements rabbitMQ with streamBridge from kafka version
parent
8b4183c4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
58 deletions
+10
-58
pom.xml
pom.xml
+1
-1
src/main/resources/application-local.properties
src/main/resources/application-local.properties
+8
-43
src/main/resources/application.properties
src/main/resources/application.properties
+1
-14
No files found.
pom.xml
View file @
6d5144d6
...
...
@@ -33,7 +33,7 @@
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-stream-
kafka
</artifactId>
<artifactId>
spring-cloud-starter-stream-
rabbit
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
src/main/resources/application-local.properties
View file @
6d5144d6
spring.application.name
=
@project.artifactId@
server.shutdown
=
graceful
management.server.port
=
8080
spring.jmx.enabled
=
false
management.endpoint.health.show-components
=
always
management.endpoint.health.show-details
=
always
#server configurations
server.port
=
8080
#logs
logging.pattern.level
=
%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]
# Actuator
management.endpoints.jmx.exposure.exclude
=
*
management.endpoints.web.exposure.include
=
health,info,metrics,prometheus
management.info.git.enabled
=
true
management.info.java.enabled
=
true
management.info.os.enabled
=
true
# Web
spring.jackson.default-property-inclusion
=
non_empty
spring.jackson.visibility.field
=
any
spring.jackson.visibility.getter
=
none
spring.jackson.visibility.setter
=
none
spring.jackson.visibility.is-getter
=
none
# Stream
spring.cloud.stream.kafka.binder.brokers
=
localhost:9092
spring.cloud.function.definition
=
measureConsumer
spring.cloud.stream.kafka.binder.configuration.key.serializer
=
org.apache.kafka.common.serialization.StringSerializer
#Producer
#spring.cloud.stream.bindings.measureProducer.destination=measure
## Consumer
spring.cloud.stream.bindings.measureConsumer-in-0.destination
=
measure
spring.cloud.stream.bindings.measureConsumer-in-0.group
=
measureGroup
#spring.cloud.stream.kafka.binder.brokers=localhost:9092
#spring.cloud.stream.kafka.binder.configuration.key.serializer=org.apache.kafka.common.serialization.StringSerializer
# Redis
spring.data.redis.host
=
localhost
spring.data.redis.port
=
6379
spring.data.redis.password
=
pa55word
spring.data.redis.jedis.pool.max-active
=
15
spring.data.redis.jedis.pool.min-idle
=
3
spring.cache.redis.time-to-live
=
1m
# RabbitMQ Configuration
spring.rabbitmq.host
=
localhost
spring.rabbitmq.port
=
5672
spring.rabbitmq.username
=
user
spring.rabbitmq.password
=
p@ssword
#GrpcEnpoint
grpc.adapter.host
=
localhost
...
...
src/main/resources/application.properties
View file @
6d5144d6
...
...
@@ -19,27 +19,14 @@ logging.pattern.level=%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-
# Web
spring.jackson.default-property-inclusion
=
non_empty
spring.jackson.visibility.field
=
any
spring.jackson.visibility.getter
=
none
spring.jackson.visibility.setter
=
none
spring.jackson.visibility.is-getter
=
none
#Producer
spring.cloud.stream.bindings.measureProducer.destination
=
measure
# Stream
spring.cloud.stream.kafka.binder.brokers
=
${SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS}
spring.cloud.function.definition
=
measureConsumer
spring.cloud.stream.kafka.binder.configuration.key.serializer
=
org.apache.kafka.common.serialization.StringSerializer
## Consumer
spring.cloud.stream.bindings.measureConsumer-in-0.destination
=
measure
spring.cloud.stream.bindings.measureConsumer-in-0.group
=
measureGroup
spring.cloud.stream.bindings.measureConsumer-in-0.group
=
${spring.application.name}
# Redis
#spring.data.redis.host=localhost
#spring.data.redis.port=6379
#spring.data.redis.password=pa55word
spring.data.redis.jedis.pool.max-active
=
15
spring.data.redis.jedis.pool.min-idle
=
3
spring.cache.redis.time-to-live
=
1m
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment