Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/asyncapi.http.kafka.proxy/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/asyncapi.mqtt.kafka.proxy/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/asyncapi.sse.kafka.proxy/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/grpc.kafka.echo/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/grpc.kafka.fanout/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/grpc.kafka.proxy/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
command: --port 50051

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -60,7 +60,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/http.kafka.async/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/http.kafka.avro.json/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -46,7 +46,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/http.kafka.cache/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/http.kafka.crud/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/http.kafka.oneway/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
ports:
- 9092:9092
healthcheck:
Expand Down Expand Up @@ -60,7 +60,7 @@ services:
- './truststore/kafka.truststore.jks:/opt/bitnami/kafka/config/certs/kafka.truststore.jks:ro'

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/http.kafka.proto.json/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/http.kafka.proto.oneway/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/http.kafka.sync/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/mqtt.kafka.proxy/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -45,7 +45,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/openapi.asyncapi.kakfa.proxy/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -46,7 +46,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 2 additions & 2 deletions examples/sse.kafka.fanout/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
command: start -v -e

kafka:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
restart: unless-stopped
hostname: kafka.examples.dev
ports:
Expand All @@ -46,7 +46,7 @@ services:
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"

kafka-init:
image: bitnami/kafka:3.5
image: bitnamilegacy/kafka:3.5
user: root
depends_on:
kafka:
Expand Down
4 changes: 3 additions & 1 deletion runtime/exporter-otlp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</licenses>

<properties>
<jacoco.coverage.ratio>0.90</jacoco.coverage.ratio>
<jacoco.coverage.ratio>0.93</jacoco.coverage.ratio>
<jacoco.missed.count>0</jacoco.missed.count>
</properties>

Expand Down Expand Up @@ -123,6 +123,8 @@
<configuration>
<excludes>
<exclude>**/org.mockito.plugins.MockMaker</exclude>
<exclude>**/keys</exclude>
<exclude>**/trust</exclude>
</excludes>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,26 @@
package io.aklivity.zilla.runtime.exporter.otlp.config;

import java.net.URI;
import java.util.function.Function;

public class OtlpEndpointConfig
{
public String protocol;
public URI location;
public OtlpOverridesConfig overrides;
public final String protocol;
public final URI location;
public final OtlpOverridesConfig overrides;

public OtlpEndpointConfig(
public static OtlpEndpointConfigBuilder<OtlpEndpointConfig> builder()
{
return new OtlpEndpointConfigBuilder<>(OtlpEndpointConfig.class::cast);
}

public static <T> OtlpEndpointConfigBuilder<T> builder(
Function<OtlpEndpointConfig, T> mapper)
{
return new OtlpEndpointConfigBuilder<>(mapper);
}

protected OtlpEndpointConfig(
String protocol,
URI location,
OtlpOverridesConfig overrides)
Expand Down
Loading
Loading