This is a series of gists documenting testing done with the numeric.mapping
option in Kafka Connect.
- Oracle
- MS SQL Server
- Postgres
- MySQL - n/a because of #563
—@rmoff January 9, 2019
This is a series of gists documenting testing done with the numeric.mapping
option in Kafka Connect.
—@rmoff January 9, 2019
--- | |
version: '2' | |
services: | |
zookeeper: | |
image: confluentinc/cp-zookeeper:latest | |
environment: | |
ZOOKEEPER_CLIENT_PORT: 2181 | |
ZOOKEEPER_TICK_TIME: 2000 | |
kafka: |
curl -s "http://localhost:8083/connectors"| \ | |
jq '.[]'| \ | |
xargs -I{connector_name} curl -s "http://localhost:8083/connectors/"{connector_name}"/status" | \ | |
jq -c -M '[.name,.connector.state,.tasks[].state]|join(":|:")' | \ | |
column -s : -t | \ | |
sed 's/\"//g' | \ | |
sort |
rmoff: mac regex replace in file from CLI
Raycast AI: You can use the sed
command on macOS to perform a regex replacement in a file from the command line. Here's the general syntax:
sed 's/regex/replacement/g' input_file > output_file
regex
: The regular expression you want to search for.replacement
: The text you want to replace the matched regex with.