io.openlineage.client.transports.KafkaConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openlineage-java Show documentation
Show all versions of openlineage-java Show documentation
Java library for OpenLineage
/*
/* Copyright 2018-2024 contributors to the OpenLineage project
/* SPDX-License-Identifier: Apache-2.0
*/
package io.openlineage.client.transports;
import java.util.Properties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@ToString
public final class KafkaConfig implements TransportConfig {
@Getter @Setter private String topicName;
@Getter @Setter private String localServerId;
@Getter @Setter private Properties properties;
KafkaConfig() {
properties = new Properties();
}
public boolean hasLocalServerId() {
return (localServerId != null);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy