Skip to content

Use NiFi without Zookeeper; fix various problems #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ data:
import logging
import requests

base_url = "http://superset-external:8088" # For local testing / developing replace it, afterwards change back to http://superset-external:8088
base_url = "http://superset-node-default:8088" # For local testing / developing replace it, afterwards change back to http://superset-node-default:8088
superset_username = open("/superset-credentials/adminUser.username").read()
superset_password = open("/superset-credentials/adminUser.password").read()
trino_username = "admin"
Expand Down
2 changes: 1 addition & 1 deletion demos/nifi-kafka-druid-earthquake-data/setup-superset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ data:
import logging
import requests

base_url = "http://superset-external:8088" # For local testing / developing replace it, afterwards change back to http://superset-external:8088
base_url = "http://superset-node-default:8088" # For local testing / developing replace it, afterwards change back to http://superset-node-default:8088
superset_username = open("/superset-credentials/adminUser.username").read()
superset_password = open("/superset-credentials/adminUser.password").read()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ data:
import logging
import requests

base_url = "http://superset-external:8088" # For local testing / developing replace it, afterwards change back to http://superset-external:8088
base_url = "http://superset-node-default:8088" # For local testing / developing replace it, afterwards change back to http://superset-node-default:8088
superset_username = open("/superset-credentials/adminUser.username").read()
superset_password = open("/superset-credentials/adminUser.password").read()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ data:
import logging
import requests

base_url = "http://superset-external:8088" # For local testing / developing replace it, afterwards change back to http://superset-external:8088
base_url = "http://superset-node-default:8088" # For local testing / developing replace it, afterwards change back to http://superset-node-default:8088
superset_username = open("/superset-credentials/adminUser.username").read()
superset_password = open("/superset-credentials/adminUser.password").read()
trino_username = "admin"
Expand Down
2 changes: 1 addition & 1 deletion demos/trino-taxi-data/setup-superset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ data:
import logging
import requests

base_url = "http://superset-external:8088" # For local testing / developing replace it, afterwards change back to http://superset-external:8088
base_url = "http://superset-node-default:8088" # For local testing / developing replace it, afterwards change back to http://superset-node-default:8088
superset_username = open("/superset-credentials/adminUser.username").read()
superset_password = open("/superset-credentials/adminUser.password").read()
trino_username = "admin"
Expand Down
16 changes: 8 additions & 8 deletions stacks/data-lakehouse-iceberg-trino-spark/kafka.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
---
apiVersion: zookeeper.stackable.tech/v1alpha1
kind: ZookeeperZnode
metadata:
name: kafka-znode
spec:
clusterRef:
name: zookeeper
---
apiVersion: kafka.stackable.tech/v1alpha1
kind: KafkaCluster
metadata:
Expand Down Expand Up @@ -46,3 +38,11 @@ spec:
provider:
tls:
clientCertSecretClass: tls
---
apiVersion: zookeeper.stackable.tech/v1alpha1
kind: ZookeeperZnode
metadata:
name: kafka-znode
spec:
clusterRef:
name: zookeeper
9 changes: 0 additions & 9 deletions stacks/data-lakehouse-iceberg-trino-spark/nifi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ spec:
sensitiveProperties:
keySecret: nifi-sensitive-property-key
autoGenerate: true
zookeeperConfigMapName: nifi-znode
nodes:
config:
resources:
Expand Down Expand Up @@ -53,11 +52,3 @@ metadata:
name: nifi-admin-credentials-secret
stringData:
admin: {{ nifiAdminPassword }}
---
apiVersion: zookeeper.stackable.tech/v1alpha1
kind: ZookeeperZnode
metadata:
name: nifi-znode
spec:
clusterRef:
name: zookeeper
3 changes: 2 additions & 1 deletion stacks/end-to-end-security/superset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ spec:
image:
productVersion: 4.1.2
clusterConfig:
listenerClass: external-unstable
credentialsSecret: superset-credentials
mapboxSecret: superset-mapbox-api-key
authentication:
Expand All @@ -16,6 +15,8 @@ spec:
clientCredentialsSecret: superset-keycloak-client
userRegistrationRole: Gamma_extended
nodes:
config:
listenerClass: external-unstable
roleGroups:
default:
replicas: 1
Expand Down
3 changes: 2 additions & 1 deletion stacks/keycloak-opa-poc/superset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ spec:
productVersion: 4.1.2
clusterConfig:
credentialsSecret: superset-credentials
listenerClass: external-unstable
nodes:
roleGroups:
default:
replicas: 1
config:
listenerClass: external-unstable
configOverrides:
superset_config.py:
AUTH_TYPE: AUTH_OAUTH
Expand Down
9 changes: 0 additions & 9 deletions stacks/nifi-kafka-druid-superset-s3/nifi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ spec:
sensitiveProperties:
keySecret: nifi-sensitive-property-key
autoGenerate: true
zookeeperConfigMapName: nifi-znode
nodes:
config:
resources:
Expand Down Expand Up @@ -53,11 +52,3 @@ metadata:
name: nifi-admin-credentials-secret
stringData:
admin: {{ nifiAdminPassword }}
---
apiVersion: zookeeper.stackable.tech/v1alpha1
kind: ZookeeperZnode
metadata:
name: nifi-znode
spec:
clusterRef:
name: zookeeper
3 changes: 2 additions & 1 deletion stacks/nifi-kafka-druid-superset-s3/superset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ spec:
image:
productVersion: 4.1.2
clusterConfig:
listenerClass: external-unstable
credentialsSecret: superset-credentials
mapboxSecret: superset-mapbox-api-key
nodes:
config:
listenerClass: external-unstable
roleGroups:
default:
replicas: 1
Expand Down
9 changes: 0 additions & 9 deletions stacks/signal-processing/nifi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ spec:
# pullPolicy: IfNotPresent
clusterConfig:
listenerClass: external-unstable
zookeeperConfigMapName: nifi-znode
authentication:
- authenticationClass: nifi-users
sensitiveProperties:
Expand Down Expand Up @@ -57,11 +56,3 @@ metadata:
name: nifi-admin-credentials
stringData:
admin: {{ nifiAdminPassword }}
---
apiVersion: zookeeper.stackable.tech/v1alpha1
kind: ZookeeperZnode
metadata:
name: nifi-znode
spec:
clusterRef:
name: zookeeper
1 change: 0 additions & 1 deletion stacks/stacks-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,6 @@ stacks:
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/signal-processing/grafana-dashboards.yaml
- helmChart: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/signal-processing/grafana.yaml
- helmChart: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/_templates/postgresql-timescaledb.yaml
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/nifi-kafka-druid-superset-s3/zookeeper.yaml
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/signal-processing/nifi.yaml
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/jupyterhub-pyspark-hdfs/serviceaccount.yaml
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/jupyterhub-pyspark-hdfs/spark_driver_service.yaml
Expand Down
3 changes: 2 additions & 1 deletion stacks/trino-superset-s3/superset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ spec:
image:
productVersion: 4.1.2
clusterConfig:
listenerClass: external-unstable
credentialsSecret: superset-credentials
mapboxSecret: superset-mapbox-api-key
nodes:
config:
listenerClass: external-unstable
roleGroups:
default:
replicas: 1
Expand Down