Skip to content

Instantly share code, notes, and snippets.

@miller45
Last active November 17, 2023 10:48
Show Gist options
  • Save miller45/6a109b46f1ad72579e98ab8e3ce8244e to your computer and use it in GitHub Desktop.
Save miller45/6a109b46f1ad72579e98ab8e3ce8244e to your computer and use it in GitHub Desktop.
julie ops cloud connect example
{
"connector.class": "DatagenSource",
"name": "inv-data-gen",
"kafka.auth.mode": "SERVICE_ACCOUNT",
"kafka.service.account.id": "sa-affe",
"kafka.topic": "inventory",
"schema.context.name": "default",
"output.data.format": "JSON",
"json.output.decimal.format": "BASE64",
"quickstart": "INVENTORY",
"max.interval": "1000",
"tasks.max": "1"
}
# kafka-connect config example for julie ops
# this config file is missing all the default config values for julieops, you can look the up here
# https://github.com/kafka-ops/julie/blob/master/example/julieops-confluent-cloud.properties
# here are just the critical parts for accessing managed connects in confluent
platform.servers.connect.0=cloud:https://api.confluent.cloud/connect/v1/environments/<env-id>/clusters/<cluster-id>/connectors
platform.servers.basic.auth.0=cloud@<cloud-api-key>:<cloud-api-secret>
#This gist is also missing all account/acl stuff and just assumes that you already created a service account with the neccesary acls
---
context: "ABRA"
projects:
- name: "KADABRA"
topics:
- name: "Inventory"
connectors:
artifacts:
- path: "inv-data-gen.json"
server: "cloud"
name: "inv-data-gen"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment