Skip to content

Commit 8e4693f

Browse files
[Examples] bulk/kafka (#489) (#490)
* Update go dependencies * Disable Elasticsearch security for kafka demo * Remove apm-server for now, reintegrate with fleet later * Remove APM direct reference from readme Co-authored-by: Laurent Saint-Félix <laurent.saintfelix@elastic.co>
1 parent 87de3a1 commit 8e4693f

File tree

5 files changed

+14
-350
lines changed

5 files changed

+14
-350
lines changed

_examples/bulk/kafka/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ Then, launch the Kafka producers and consumers and the Elasticsearch indexer:
1616
make run
1717

1818
Open the [_Kibana_ dashboard](http://localhost:5601/app/kibana#/dashboard/140b5490-5fce-11ea-a238-bf5970186390) to see
19-
the results, the [_
20-
Kibana_ APM application](http://localhost:5601/app/apm#/services/kafka/transactions?rangeFrom=now-15m&rangeTo=now&refreshPaused=true&refreshInterval=0&transactionType=indexing)
21-
to see the indexer metrics, and [_Confluent Control Center_](http://localhost:9021/) to inspect the Kafka cluster and
19+
the results and [_Confluent Control Center_](http://localhost:9021/) to inspect the Kafka cluster and
2220
see details about the topic and performance of consumers.
2321

2422
See the [`producer/producer.go`](producer/producer.go) file for the Kafka

_examples/bulk/kafka/docker-compose.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ services:
8888
- network.host=elasticsearch,_local_
8989
- network.publish_host=elasticsearch
9090
- bootstrap.memory_lock=true
91+
- xpack.security.enabled=false
92+
- xpack.security.http.ssl.enabled=false
9193
- ES_JAVA_OPTS=-Xms${ES_MEMORY} -Xmx${ES_MEMORY}
9294
ulimits: { nofile: { soft: 65535, hard: 65535 }, memlock: -1 }
9395
healthcheck:
@@ -107,19 +109,6 @@ services:
107109
healthcheck:
108110
test: curl --max-time 120 --retry 120 --retry-delay 1 --show-error --silent http://localhost:5601
109111

110-
apm_server:
111-
container_name: apm_server
112-
image: docker.elastic.co/apm/apm-server:${ELASTIC_VERSION}
113-
depends_on: [ 'elasticsearch', 'kibana' ]
114-
command: -e --strict.perms=false
115-
networks:
116-
- elasticsearch
117-
ports:
118-
- 8200:8200
119-
restart: on-failure
120-
healthcheck:
121-
test: curl --max-time 120 --retry 120 --retry-delay 1 --show-error --silent http://localhost:8200
122-
123112
networks:
124113
kafka:
125114
elasticsearch:

0 commit comments

Comments
 (0)