Skip to content

Instantly share code, notes, and snippets.

@KeesCBakker
Created November 9, 2019 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KeesCBakker/4fbb4b92ffe248a7923da4ee68174f2b to your computer and use it in GitHub Desktop.
Save KeesCBakker/4fbb4b92ffe248a7923da4ee68174f2b to your computer and use it in GitHub Desktop.
bucket = "/mnt/{}{}-delta".format(bucket_prefix, topic)
delta_location = bucket + "/delta-table"
checkpoint_location = bucket + "/checkpoints";
schema_location = bucket + "/kafka_schema.json";
if debug:
delta_location += "_debug"
checkpoint_location += "_debug"
schema_location += "_debug.json"
print("Debug: ", debug)
print("Streaming: ", streaming)
print("Update Kafka Schema: ", update_kafka_schema)
print("Broker: ", kafka_broker)
print("Topic: ", topic)
print("Delta: ", delta_location)
print("Checkpoint: ", checkpoint_location)
print("Schema: ", schema_location)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment