Skip to content

Endpoint Configuration

Version: 1.0.0

The KafkaClientCloudEndpoint layer allows defining properties that dictate the encoding of the payload and whether to compress it using GZIP format.

If using the RAW encoding, only the body of the KuraPayload is serialized, whereas the metrics and position data are not included in the record. Instead, when using Simple JSON or Kura Protobuf all the data present in the KuraPayload is encoded. Whether to include such data is controlled by the Publisher Configuration properties.

Attention

In order to use Kura Protobuf some service should expose the following interfaces:

  • org.eclipse.kura.cloud.CloudPayloadProtoBufEncoder, and
  • org.eclipse.kura.cloud.CloudPayloadProtoBufDecoder

If running on ESF < 7.2.0, a default org.eclipse.kura.cloud.CloudService provides such interfaces.