I hereby claim:
- I am sonnysideup on github.
- I am sonnysideup (https://keybase.io/sonnysideup) on keybase.
- I have a public key ASAc2E5nzDsUHVgS3-tsQA0qa3ygTjTaNhUo7ZgqCgtfEQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# You can apply these annotations to your Kafka Pod/Deployment/StatefulSet in order to correctly | |
# enable the Datadog core monitoring integration for Kafka using Agent v5. When Agent v6 is released, | |
# you can use `"collect_default_metrics": true to apply the same config. | |
# | |
# NOTE: Make sure you replace "mykafka" (see below) with the container name in your PodSpec. | |
# | |
annotations: | |
service-discovery.datadoghq.com/mykafka.check_names: '["kafka"]' | |
service-discovery.datadoghq.com/mykafka.init_configs: '[{"is_jmx":true,"collect_default_metrics":true,"conf":[{"include":{"domain":"kafka.producer","bean_regex":"kafka\\.producer:type=ProducerRequestMetrics,name=ProducerRequestRateAndTimeMs,clientId=.*","attribute":{"Count":{"metric_type":"rate","alias":"kafka.producer.request_rate"}}}},{"include":{"domain":"kafka.producer","bean_regex":"kafka\\.producer:type=ProducerRequestMetrics,name=ProducerRequestRateAndTimeMs,clientId=.*","attribute":{"Mean":{"metric_type":"gauge","alias":"kafka.producer.request_latency_avg"}}} |
# launch kafka broker in background | |
docker run -p 2181:2181 -p 9092:9092 -e ADVERTISED_HOST=localhost -e ADVERTISED_PORT=9092 -d spotify/kafka | |
# launch any kafka binary command against broker running in the background | |
# generic structure | |
docker run --net=host -ti spotify/kafka <YOUR_CMD> | |
# create a new topic | |
docker run --net=host -ti spotify/kafka \ |
FROM envconsul:latest | |
# how can i set the prefix here? preceding the cmd seems ugly | |
CMD ["my-command", "arg1", "argN"] |
[25.7658958435] DEBUG: Loading provider `bootstrapvz.providers.ec2' | |
[33.8599681854] DEBUG: Loading plugin `bootstrapvz.plugins.cloud_init' | |
[1032.38677979] DEBUG: Tasklist: | |
bootstrapvz.common.tasks.loopback.AddRequiredCommands | |
bootstrapvz.providers.ec2.tasks.connection.GetCredentials | |
bootstrapvz.providers.ec2.tasks.host.GetInfo | |
bootstrapvz.providers.ec2.tasks.connection.Connect | |
bootstrapvz.providers.ec2.tasks.ami.AMIName | |
bootstrapvz.common.tasks.locale.LocaleBootstrapPackage | |
bootstrapvz.common.tasks.bootstrap.AddRequiredCommands |