Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
bf374b50
Commit
bf374b50
authored
Feb 25, 2021
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Support default bootstrap server
parent
3a9494c7
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!86
Zookeeper free workload generator
,
!84
Gitlab CI for Theodolite-Kotlin-Quarkus
Pipeline
#2025
skipped
Stage: triggers
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/workload-generator-commons/src/main/java/theodolite/commons/workloadgeneration/LoadGenerator.java
+4
-2
4 additions, 2 deletions
.../theodolite/commons/workloadgeneration/LoadGenerator.java
with
4 additions
and
2 deletions
benchmarks/workload-generator-commons/src/main/java/theodolite/commons/workloadgeneration/LoadGenerator.java
+
4
−
2
View file @
bf374b50
...
...
@@ -114,8 +114,10 @@ public final class LoadGenerator {
clusterConfig
=
ClusterConfig
.
fromKubernetesDnsName
(
kubernetesDnsName
);
LOGGER
.
info
(
"Use Kubernetes DNS name '{}'."
,
kubernetesDnsName
);
}
else
{
throw
new
IllegalArgumentException
(
"Neither a bootstrap server nor a Kubernetes DNS name was provided."
);
clusterConfig
=
ClusterConfig
.
fromBootstrapServer
(
BOOTSTRAP_SERVER_DEFAULT
);
LOGGER
.
info
(
"Neither a bootstrap server nor a Kubernetes DNS name was provided. Use default bootstrap server '{}'."
,
// NOCS
BOOTSTRAP_SERVER_DEFAULT
);
}
final
String
port
=
System
.
getenv
(
ConfigurationKeys
.
PORT
);
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment