1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/doc/openapi/components/schemas/config/nodes/kafka.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

81 lines
2.1 KiB
YAML
Raw Normal View History

2021-11-18 12:10:36 +01:00
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
2022-01-10 17:52:36 +01:00
---
2021-11-18 12:10:36 +01:00
allOf:
- type: object
required:
- server
- client_id
2021-11-18 12:10:36 +01:00
properties:
format:
2021-12-02 04:14:44 -05:00
$ref: ../format_spec.yaml
server:
type: string
description: |
The bootstrap server `{ip}:{port}` of the Kafka message brokers cluster.
protocol:
type: string
enum:
- PLAINTEXT
- SASL_PLAINTEXT
- SASL_SSL
- SSL
description: |
The [security protocol](https://kafka.apache.org/24/javadoc/org/apache/kafka/common/security/auth/SecurityProtocol.html) which is used for authentication with the Kafka cluster.
client_id:
type: string
description: The Kafka client identifier.
ssl:
type: object
properties:
ca:
type: string
description: Path to a Certificate Authority (CA) bundle which is used to validate broker server certificate.
sasl:
type: object
description: |
An object for configuring the SASL authentication against the broker.
This setting is used if the `protocol` setting is on of `SASL_PLAINTEXT` or `SASL_SSL`.
properties:
mechanisms:
type: string
username:
type: string
password:
type: string
in:
type: object
properties:
consume:
type: string
description: The Kafka topic to which this node-type will subscribe for receiving messages.
group_id:
type: string
description: The group id of the Kafka client used for receiving messages.
out:
type: object
properties:
produce:
type: string
description: The Kafka topic to which this node-type will publish messages.
timeout:
type: number
description: A timeout in seconds for the broker connection.
default: 1.0
- $ref: ../node_signals.yaml
2021-12-06 09:25:55 +01:00
- $ref: ../node.yaml