Skip to content

Commit

Permalink
Remove setup of brokers since it will be moved to provisioning flow
Browse files Browse the repository at this point in the history
[OPS-1979]
  • Loading branch information
georgeyord committed Nov 19, 2021
1 parent cdffecd commit fa5f8f6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ services:
image: lensesio/lenses
environment:
LENSES_PORT: 9991
LENSES_KAFKA_BROKERS: "PLAINTEXT://broker.1.url:9092,PLAINTEXT://broker.2.url:9092"

# # If you have enabled JMX for your brokers, set the port here
# LENSES_KAFKA_METRICS_DEFAULT_PORT: 9581

# # If you use AVRO, configure the Schema Registry
# LENSES_SCHEMA_REGISTRY_URLS: |
Expand Down
5 changes: 0 additions & 5 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export LT_PACKAGE_VERSION=${LT_PACKAGE_VERSION:-$BUILD_COMMIT}
WAIT_SCRIPT=${WAIT_SCRIPT:-}

OPTS_JVM="LENSES_OPTS LENSES_HEAP_OPTS LENSES_JMX_OPTS LENSES_LOG4J_OPTS LENSES_PERFORMANCE_OPTS LENSES_SERDE_CLASSPATH_OPTS LENSES_PLUGINS_CLASSPATH_OPTS LENSES_APPEND_CONF"
OPTS_NEEDQUOTE="LENSES_KAFKA_BROKERS"
OPTS_NEEDQUOTE="$OPTS_NEEDQUOTE LENSES_GRAFANA LENSES_JMX_SCHEMA_REGISTRY LENSES_JMX_ZOOKEEPERS"
OPTS_NEEDQUOTE="$OPTS_NEEDQUOTE LENSES_ACCESS_CONTROL_ALLOW_METHODS LENSES_ACCESS_CONTROL_ALLOW_ORIGIN"
OPTS_NEEDQUOTE="$OPTS_NEEDQUOTE LENSES_VERSION LENSES_SECURITY_LDAP_URL LENSES_SECURITY_LDAP_BASE"
Expand All @@ -47,7 +46,6 @@ OPTS_NEEDQUOTE="$OPTS_NEEDQUOTE LENSES_ALERT_MANAGER_SOURCE LENSES_ALERT_MANAGER
OPTS_NEEDNOQUOTE="LENSES_CONNECT LENSES_CONNECT_CLUSTERS LENSES_JMX_CONNECT"
OPTS_NEEDNOQUOTE="$OPTS_NEEDNOQUOTE LENSES_UI_CONFIG_DISPLAY LENSES_KAFKA_TOPICS LENSES_SQL_CONNECT_CLUSTERS"
OPTS_NEEDNOQUOTE="$OPTS_NEEDNOQUOTE LENSES_ZOOKEEPER_HOSTS LENSES_SCHEMA_REGISTRY_URLS"
OPTS_NEEDNOQUOTE="$OPTS_NEEDNOQUOTE LENSES_JMX_BROKERS"
OPTS_NEEDNOQUOTE="$OPTS_NEEDNOQUOTE LENSES_KAFKA_CONTROL_TOPICS LENSES_KAFKA LENSES_KAFKA_METRICS LENSES_KAFKA LENSES_KAFKA_METRICS"
OPTS_NEEDNOQUOTE="$OPTS_NEEDNOQUOTE LENSES_KAFKA_METRICS_PORT LENSES_KAFKA_CONNECT_CLUSTERS LENSES_CONNECTORS_INFO"
OPTS_NEEDNOQUOTE="$OPTS_NEEDNOQUOTE LENSES_ALERT_PLUGINS LENSES_SQL_UDF_PACKAGES"
Expand Down Expand Up @@ -111,9 +109,6 @@ fi
[[ -z $LENSES_PORT ]] \
&& echo "LENSES_PORT is not set via env var or individual file. Using default 9991."

[[ -z $LENSES_KAFKA_BROKERS ]] \
&& echo "LENSES_KAFKA_BROKERS is not set via env var or individual file."

[[ -z $LENSES_SECURITY_PASSWORD ]] \
&& echo "LENSES_SECURITY_PASSWORD is not set. You may be using the default password which is dangerous."

Expand Down

0 comments on commit fa5f8f6

Please sign in to comment.