Skip to content

Commit

Permalink
Merge pull request #1 from mike4263/working
Browse files Browse the repository at this point in the history
BOOTSTRAP_URL Environment Variable
  • Loading branch information
mike4263 authored Jun 4, 2024
2 parents 1c5c675 + 5a9448f commit 65c7c84
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/main/resources/META-INF/resources/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>App Deployed</title>
</head>
<body>
<h1>Landing page for a successful deployment</h1>
</body>
</html>
3 changes: 2 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ quarkus.kafka.devservices.provider = strimzi
kafka.topic.name=test

# Kafka brokers in native test
%prod.camel.component.kafka.brokers=${kafka.bootstrap.servers}
%prod.camel.component.kafka.brokers=${BOOTSTRAP_URL:my-cluster-kafka-bootstrap:9092}
#camel.component.kafka.brokers=${BOOTSTRAP_URL:my-cluster-kafka-bootstrap:9092}

# How often should the messages be generated and pushed to Kafka Topic
timer.period = 10000
Expand Down

0 comments on commit 65c7c84

Please sign in to comment.