df5ec93dc3
- Trino catalogs, Grafana, Spark jobs, LDAP LDIF, NPM compose - Airflow DAG scripts, Proxmox VM inventory, network docs - Ansible playbook, Gitea CI validate workflow - Backup and health-check scripts, cron documentation - Homepage DOCS tab with links to all documentation - Extended collect-fleet-config.sh and populate-repo.py
13 lines
280 B
Python
13 lines
280 B
Python
from kafka import KafkaConsumer
|
|
import json
|
|
|
|
consumer = KafkaConsumer(
|
|
'test-lakehouse',
|
|
bootstrap_servers=['10.0.21.36:9092'],
|
|
auto_offset_reset='latest'
|
|
)
|
|
|
|
print("Waiting for new messages...")
|
|
for msg in consumer:
|
|
print(f"Received: {msg.value.decode('utf-8')}")
|