1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/ossm-config-ingester.adoc

77 lines
2.1 KiB
Plaintext

// Module included in the following assemblies:
//
// * service_mesh/v2x/ossm-reference-jaeger.adoc
:_mod-docs-content-type: REFERENCE
[id="ossm-config-ingester_{context}"]
= Ingester configuration options
Ingester is a service that reads from a Kafka topic and writes to the Elasticsearch storage backend. If you are using the `allInOne` or `production` deployment strategies, you do not need to configure the Ingester service.
.Jaeger parameters passed to the Ingester
[options="header"]
[cols="l, a, a"]
|===
|Parameter |Description |Values
|spec:
ingester:
options: {}
|Configuration options that define the Ingester service.
|
|options:
deadlockInterval:
|Specifies the interval, in seconds or minutes, that the Ingester must wait for a message before terminating.
The deadlock interval is disabled by default (set to `0`), to avoid terminating the Ingester when no messages arrive during system initialization.
|Minutes and seconds, for example, `1m0s`. Default value is `0`.
|options:
kafka:
consumer:
topic:
|The `topic` parameter identifies the Kafka configuration used by the collector to produce the messages, and the Ingester to consume the messages.
|Label for the consumer. For example, `jaeger-spans`.
|options:
kafka:
consumer:
brokers:
|Identifies the Kafka configuration used by the Ingester to consume the messages.
|Label for the broker, for example, `my-cluster-kafka-brokers.kafka:9092`.
|options:
log-level:
|Logging level for the Ingester.
|Possible values: `debug`, `info`, `warn`, `error`, `fatal`, `dpanic`, `panic`.
|===
.Streaming Collector and Ingester example
[source,yaml]
----
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: simple-streaming
spec:
strategy: streaming
collector:
options:
kafka:
producer:
topic: jaeger-spans
brokers: my-cluster-kafka-brokers.kafka:9092
ingester:
options:
kafka:
consumer:
topic: jaeger-spans
brokers: my-cluster-kafka-brokers.kafka:9092
ingester:
deadlockInterval: 5
storage:
type: elasticsearch
options:
es:
server-urls: http://elasticsearch:9200
----