From a06c70fef78185fa7b0897eebc3e33872dd864bf Mon Sep 17 00:00:00 2001 From: John Fallows Date: Mon, 20 May 2024 10:35:19 -0700 Subject: [PATCH 1/8] Update CHANGELOG.md --- CHANGELOG.md | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27131dc8ea..abacd7f8cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,81 @@ # Changelog +## [0.9.80](https://github.com/aklivity/zilla/tree/0.9.80) (2024-05-20) + +[Full Changelog](https://github.com/aklivity/zilla/compare/0.9.79...0.9.80) + +**Breaking changes:** + +- Remove `zilla generate` command [\#960](https://github.com/aklivity/zilla/issues/960) +- Report unused properties based on binding definition [\#808](https://github.com/aklivity/zilla/issues/808) + +**Implemented enhancements:** + +- Update the Zilla issue Bug Report template with debugging info collection instructions [\#991](https://github.com/aklivity/zilla/issues/991) +- Support multiple specs in `openapi-asyncapi` binding [\#964](https://github.com/aklivity/zilla/issues/964) +- Integrate JMH into `tls` binding [\#961](https://github.com/aklivity/zilla/issues/961) +- Enhance validation for `openapi` and `asyncapi` bindings [\#950](https://github.com/aklivity/zilla/issues/950) +- Support multiple specs in `openapi` binding [\#949](https://github.com/aklivity/zilla/issues/949) +- Support multiple specs in `asyncapi` binding [\#948](https://github.com/aklivity/zilla/issues/948) +- Support `asyncapi` `mqtt` streetlights mapping to `kafka` streetlights [\#947](https://github.com/aklivity/zilla/issues/947) +- Support `mqtt` access log [\#945](https://github.com/aklivity/zilla/issues/945) +- Support `mqtt` client binding authorization [\#940](https://github.com/aklivity/zilla/issues/940) +- Resiliently handle `apicurio` catalog unreachable [\#938](https://github.com/aklivity/zilla/issues/938) +- Resiliently handle `karapace` catalog unreachable [\#937](https://github.com/aklivity/zilla/issues/937) +- Support local `zilla` installation on MacOS via `homebrew` [\#680](https://github.com/aklivity/zilla/issues/680) +- Update bug report template [\#820](https://github.com/aklivity/zilla/pull/820) ([vordimous](https://github.com/vordimous)) + +**Fixed bugs:** + +- Zilla crashes with `IllegalArgumentException` when an Avro payload is fetched as `json` [\#1025](https://github.com/aklivity/zilla/issues/1025) +- MQTT-Kafka qos2: increasing tracked producer sequence number without publishing to Kafka [\#1014](https://github.com/aklivity/zilla/issues/1014) +- OTLP `logs` signal doesn't show up in OpenTelemetry Demo [\#1006](https://github.com/aklivity/zilla/issues/1006) +- Flow control issue in openapi binding [\#1004](https://github.com/aklivity/zilla/issues/1004) +- `mqtt` connecting with longer client id fails [\#1003](https://github.com/aklivity/zilla/issues/1003) +- Running zilla with the `kafka-grpc` binding in a cluster with multiple instances results in each instance delivering a message to the configured `remote_server` [\#882](https://github.com/aklivity/zilla/issues/882) +- Using the `grpc.kafka.proxy` example setup, Zilla will periodically not deliver the message to the gRPC service defined in the `kafka-grpc` binding [\#881](https://github.com/aklivity/zilla/issues/881) +- Flaky kafka-grpc test [\#768](https://github.com/aklivity/zilla/issues/768) + +**Merged pull requests:** + +- Handle & calculate complex schema padding [\#1038](https://github.com/aklivity/zilla/pull/1038) ([aDaemonThread](https://github.com/aDaemonThread)) +- Fix typo to send abort on abort instead of end [\#1036](https://github.com/aklivity/zilla/pull/1036) ([akrambek](https://github.com/akrambek)) +- Bump junit.version from 5.10.1 to 5.10.2 [\#1032](https://github.com/aklivity/zilla/pull/1032) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Honor MQTT clean start at QoS2 produce [\#1031](https://github.com/aklivity/zilla/pull/1031) ([bmaidics](https://github.com/bmaidics)) +- Use flyweight fields instead of class fields for control [\#1030](https://github.com/aklivity/zilla/pull/1030) ([akrambek](https://github.com/akrambek)) +- catalog:apicurio - unify caching across workers to maximize cache hits [\#1027](https://github.com/aklivity/zilla/pull/1027) ([aDaemonThread](https://github.com/aDaemonThread)) +- Use binding id instead of route Id for resolved Id [\#1026](https://github.com/aklivity/zilla/pull/1026) ([akrambek](https://github.com/akrambek)) +- MQTT clients access log implementation [\#1023](https://github.com/aklivity/zilla/pull/1023) ([aDaemonThread](https://github.com/aDaemonThread)) +- Unsubscribe on partition reassignment [\#1021](https://github.com/aklivity/zilla/pull/1021) ([akrambek](https://github.com/akrambek)) +- Bump commons-cli:commons-cli from 1.6.0 to 1.7.0 [\#1020](https://github.com/aklivity/zilla/pull/1020) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Increase mqtt client id limit to 256 [\#1015](https://github.com/aklivity/zilla/pull/1015) ([bmaidics](https://github.com/bmaidics)) +- Generate correct crc32c value for the messages with different produceId [\#1011](https://github.com/aklivity/zilla/pull/1011) ([akrambek](https://github.com/akrambek)) +- Remove generate command [\#1010](https://github.com/aklivity/zilla/pull/1010) ([attilakreiner](https://github.com/attilakreiner)) +- Support configuration of timestamps in zilla transport for k3po [\#1009](https://github.com/aklivity/zilla/pull/1009) ([jfallows](https://github.com/jfallows)) +- Support multiple specs in openapi-asyncapi binding [\#1008](https://github.com/aklivity/zilla/pull/1008) ([bmaidics](https://github.com/bmaidics)) +- Support multiple specs in openapi binding [\#1005](https://github.com/aklivity/zilla/pull/1005) ([bmaidics](https://github.com/bmaidics)) +- Fix secure http detection in OpenAPI [\#1002](https://github.com/aklivity/zilla/pull/1002) ([bmaidics](https://github.com/bmaidics)) +- Enhancing validation for openapi and asyncapi bindings [\#1001](https://github.com/aklivity/zilla/pull/1001) ([aDaemonThread](https://github.com/aDaemonThread)) +- Support asyncapi mqtt streetlights mapping to kafka streetlights [\#997](https://github.com/aklivity/zilla/pull/997) ([bmaidics](https://github.com/bmaidics)) +- Bump ubuntu from jammy-20240416 to jammy-20240427 in /cloud/docker-image/src/main/docker [\#996](https://github.com/aklivity/zilla/pull/996) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump org.bitbucket.b\_c:jose4j from 0.9.3 to 0.9.6 [\#995](https://github.com/aklivity/zilla/pull/995) ([dependabot[bot]](https://github.com/apps/dependabot)) +- MQTT Websocket bugfix [\#993](https://github.com/aklivity/zilla/pull/993) ([bmaidics](https://github.com/bmaidics)) +- Add MQTT client authentication [\#992](https://github.com/aklivity/zilla/pull/992) ([bmaidics](https://github.com/bmaidics)) +- `tls` `client/server/echo` handshake benchmark [\#990](https://github.com/aklivity/zilla/pull/990) ([akrambek](https://github.com/akrambek)) +- Bump ubuntu from jammy-20240111 to jammy-20240416 in /cloud/docker-image/src/main/docker [\#987](https://github.com/aklivity/zilla/pull/987) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump alpine from 3.19.0 to 3.19.1 in /cloud/docker-image/src/main/docker [\#986](https://github.com/aklivity/zilla/pull/986) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Update Java build matrix [\#983](https://github.com/aklivity/zilla/pull/983) ([jfallows](https://github.com/jfallows)) +- Support multiple specs in asyncapi binding [\#982](https://github.com/aklivity/zilla/pull/982) ([bmaidics](https://github.com/bmaidics)) +- Remove event script in favor of handshake script [\#981](https://github.com/aklivity/zilla/pull/981) ([attilakreiner](https://github.com/attilakreiner)) +- `echo` `server` handshake benchmark [\#980](https://github.com/aklivity/zilla/pull/980) ([akrambek](https://github.com/akrambek)) +- MqttKafka publish intern fix [\#979](https://github.com/aklivity/zilla/pull/979) ([bmaidics](https://github.com/bmaidics)) +- Fix multiple exporters issue [\#978](https://github.com/aklivity/zilla/pull/978) ([attilakreiner](https://github.com/attilakreiner)) +- unify caching across workers to maximize cache hits [\#977](https://github.com/aklivity/zilla/pull/977) ([aDaemonThread](https://github.com/aDaemonThread)) +- Support reading empty file payload [\#976](https://github.com/aklivity/zilla/pull/976) ([jfallows](https://github.com/jfallows)) +- Use format to construct get openapi operation for async rquest [\#967](https://github.com/aklivity/zilla/pull/967) ([akrambek](https://github.com/akrambek)) +- binding config schema validation for unused properties [\#929](https://github.com/aklivity/zilla/pull/929) ([aDaemonThread](https://github.com/aDaemonThread)) +- Bump org.agrona:agrona from 1.6.0 to 1.21.1 [\#890](https://github.com/aklivity/zilla/pull/890) ([dependabot[bot]](https://github.com/apps/dependabot)) + ## [0.9.79](https://github.com/aklivity/zilla/tree/0.9.79) (2024-04-22) [Full Changelog](https://github.com/aklivity/zilla/compare/0.9.78...0.9.79) From 4533f65861ca605769647d27d39f297bd13cac0e Mon Sep 17 00:00:00 2001 From: John Fallows Date: Mon, 20 May 2024 17:12:48 -0700 Subject: [PATCH 2/8] Ensure new mqtt subscriptions are not empty (#1040) --- .../binding/mqtt/internal/stream/MqttServerFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/binding-mqtt/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/internal/stream/MqttServerFactory.java b/runtime/binding-mqtt/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/internal/stream/MqttServerFactory.java index c2fe91c9a2..04e48899e3 100644 --- a/runtime/binding-mqtt/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/internal/stream/MqttServerFactory.java +++ b/runtime/binding-mqtt/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/internal/stream/MqttServerFactory.java @@ -5369,7 +5369,8 @@ private void onSessionData( List newSubscriptions = newState.stream() .filter(s -> !currentSubscriptions.contains(s)) .collect(Collectors.toList()); - if (subscribePacketIds.containsKey(newSubscriptions.get(0).id)) + if (!newSubscriptions.isEmpty() && + subscribePacketIds.containsKey(newSubscriptions.get(0).id)) { int packetId = subscribePacketIds.get(newSubscriptions.get(0).id); newSubscriptions.forEach(sub -> subscribePacketIds.remove(sub.id)); From c6f38f06f0829bbb1e60d01de4f3f9fc7a58c15c Mon Sep 17 00:00:00 2001 From: bmaidics Date: Tue, 21 May 2024 19:51:48 +0200 Subject: [PATCH 3/8] Add zilla context to MQTT consumer groups (#1035) --- .../kafka/internal/MqttKafkaConfiguration.java | 7 +++++++ .../stream/MqttKafkaSessionFactory.java | 18 ++++++++++++++---- .../stream/MqttKafkaStreamFactory.java | 2 +- .../stream/MqttKafkaSubscribeFactory.java | 13 ++++++++++++- .../kafka/publish.mixture.qos/client.rpt | 12 ++++++------ .../kafka/publish.mixture.qos/server.rpt | 12 ++++++------ .../client.rpt | 8 ++++---- .../server.rpt | 8 ++++---- .../kafka/publish.qos2.meta.abort/client.rpt | 4 ++-- .../kafka/publish.qos2.meta.abort/server.rpt | 4 ++-- .../client.rpt | 12 ++++++------ .../server.rpt | 12 ++++++------ .../client.rpt | 10 +++++----- .../server.rpt | 10 +++++----- .../publish.qos2.offset.fetch.abort/client.rpt | 6 +++--- .../publish.qos2.offset.fetch.abort/server.rpt | 6 +++--- .../kafka/publish.qos2.recovery/client.rpt | 10 +++++----- .../kafka/publish.qos2.recovery/server.rpt | 10 +++++----- .../kafka/publish.qos2.retained/client.rpt | 12 ++++++------ .../kafka/publish.qos2.retained/server.rpt | 12 ++++++------ .../streams/kafka/publish.qos2/client.rpt | 12 ++++++------ .../streams/kafka/publish.qos2/server.rpt | 12 ++++++------ .../kafka/publish.reject.qos2/client.rpt | 2 +- .../kafka/publish.reject.qos2/server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 4 ++-- .../server.rpt | 4 ++-- .../kafka/session.client.sent.reset/client.rpt | 2 +- .../kafka/session.client.sent.reset/server.rpt | 2 +- .../kafka/session.client.takeover/client.rpt | 4 ++-- .../kafka/session.client.takeover/server.rpt | 4 ++-- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 4 ++-- .../server.rpt | 4 ++-- .../client.rpt | 4 ++-- .../server.rpt | 4 ++-- .../session.exists.clean.start/client.rpt | 4 ++-- .../session.exists.clean.start/server.rpt | 4 ++-- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../session.group.server.sent.reset/client.rpt | 2 +- .../session.group.server.sent.reset/server.rpt | 2 +- .../streams/kafka/session.redirect/client.rpt | 2 +- .../streams/kafka/session.redirect/server.rpt | 2 +- .../kafka/session.server.sent.reset/client.rpt | 2 +- .../kafka/session.server.sent.reset/server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../streams/kafka/session.subscribe/client.rpt | 2 +- .../streams/kafka/session.subscribe/server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 2 +- .../server.rpt | 2 +- .../client.rpt | 4 ++-- .../server.rpt | 4 ++-- .../client.rpt | 2 +- .../server.rpt | 2 +- .../subscribe.receive.message.qos1/client.rpt | 2 +- .../subscribe.receive.message.qos1/server.rpt | 2 +- .../subscribe.receive.message.qos2/client.rpt | 4 ++-- .../subscribe.receive.message.qos2/server.rpt | 4 ++-- .../client.rpt | 4 ++-- .../server.rpt | 4 ++-- .../client.rpt | 4 ++-- .../server.rpt | 4 ++-- .../client.rpt | 8 ++++---- .../server.rpt | 8 ++++---- .../client.rpt | 8 ++++---- .../server.rpt | 8 ++++---- .../client.rpt | 4 ++-- .../server.rpt | 4 ++-- .../client.rpt | 8 ++++---- .../server.rpt | 8 ++++---- 94 files changed, 230 insertions(+), 202 deletions(-) diff --git a/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/MqttKafkaConfiguration.java b/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/MqttKafkaConfiguration.java index 2b88be4f92..761ca046ef 100644 --- a/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/MqttKafkaConfiguration.java +++ b/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/MqttKafkaConfiguration.java @@ -41,6 +41,7 @@ public class MqttKafkaConfiguration extends Configuration public static final BooleanPropertyDef BOOTSTRAP_AVAILABLE; public static final IntPropertyDef BOOTSTRAP_STREAM_RECONNECT_DELAY; public static final IntPropertyDef PUBLISH_QOS_MAX; + public static final PropertyDef KAFKA_GROUP_ID_PREFIX; static { @@ -60,6 +61,7 @@ public class MqttKafkaConfiguration extends Configuration BOOTSTRAP_AVAILABLE = config.property("bootstrap.available", true); BOOTSTRAP_STREAM_RECONNECT_DELAY = config.property("bootstrap.stream.reconnect", 2); PUBLISH_QOS_MAX = config.property("publish.qos.max", 2); + KAFKA_GROUP_ID_PREFIX = config.property("group.id.prefix.format", "zilla:%s-%s"); MQTT_KAFKA_CONFIG = config; } @@ -124,6 +126,11 @@ public MqttQoS publishQosMax() return MqttQoS.valueOf(PUBLISH_QOS_MAX.getAsInt(this)); } + public String groupIdPrefixFormat() + { + return KAFKA_GROUP_ID_PREFIX.get(this); + } + private static StringSupplier decodeStringSupplier( String fullyQualifiedMethodName) diff --git a/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaSessionFactory.java b/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaSessionFactory.java index ee699398fc..b7731c36d9 100644 --- a/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaSessionFactory.java +++ b/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaSessionFactory.java @@ -30,6 +30,7 @@ import java.util.Optional; import java.util.Set; import java.util.concurrent.TimeUnit; +import java.util.function.Function; import java.util.function.LongFunction; import java.util.function.LongSupplier; import java.util.function.LongUnaryOperator; @@ -264,10 +265,14 @@ public class MqttKafkaSessionFactory implements MqttKafkaStreamFactory private final Long2ObjectHashMap clientMetadata; private final KafkaOffsetMetadataHelper offsetMetadataHelper; private final MqttQoS publishQosMax; + private final String groupIdPrefixFormat; + private final Function supplyNamespace; + private final Function supplyLocalName; private String serverRef; private int reconnectAttempt; private int nextContextId; + private String groupIdPrefix; public MqttKafkaSessionFactory( MqttKafkaConfiguration config, @@ -312,6 +317,9 @@ public MqttKafkaSessionFactory( this.qosLevels.put(2, new String16FW("2")); this.clientMetadata = clientMetadata; this.offsetMetadataHelper = new KafkaOffsetMetadataHelper(new UnsafeBuffer(new byte[context.writeBuffer().capacity()])); + this.groupIdPrefixFormat = config.groupIdPrefixFormat(); + this.supplyNamespace = context::supplyNamespace; + this.supplyLocalName = context::supplyLocalName; } @Override @@ -355,6 +363,8 @@ public void onAttached( { MqttKafkaBindingConfig binding = supplyBinding.apply(bindingId); this.serverRef = binding.options.serverRef; + this.groupIdPrefix = + String.format(groupIdPrefixFormat, supplyNamespace.apply(bindingId), supplyLocalName.apply(bindingId)); if (willAvailable && coreIndex == 0) { @@ -1185,7 +1195,7 @@ private void onSessionBecomesLeader( { this.memberId = memberId; this.generationId = generationId; - final String groupId = String.format("%s-%s", clientId.asString(), GROUPID_SESSION_SUFFIX); + final String groupId = String.format("%s-%s-%s", groupIdPrefix, clientId.asString(), GROUPID_SESSION_SUFFIX); this.metadata.group = new KafkaGroup(groupInstanceId, groupId, memberId, groupHost, groupPort, generationId); openMetaStreams(traceId, authorization); @@ -5431,7 +5441,7 @@ private MessageConsumer newGroupStream( { final int timeout = sessionExpiryMs == 0 ? Integer.MAX_VALUE : sessionExpiryMs; - final String groupId = String.format("%s-%s", clientId.asString(), GROUPID_SESSION_SUFFIX); + final String groupId = String.format("%s-%s-%s", groupIdPrefix, clientId.asString(), GROUPID_SESSION_SUFFIX); final KafkaBeginExFW kafkaBeginEx = kafkaBeginExRW.wrap(writeBuffer, BeginFW.FIELD_OFFSET_EXTENSION, writeBuffer.capacity()) @@ -5518,7 +5528,7 @@ private MessageConsumer newOffsetFetchStream( String topic, Array32FW partitions) { - final String groupId = String.format("%s-%s", clientId.asString(), GROUPID_SESSION_SUFFIX); + final String groupId = String.format("%s-%s-%s", groupIdPrefix, clientId.asString(), GROUPID_SESSION_SUFFIX); final KafkaBeginExFW kafkaBeginEx = kafkaBeginExRW.wrap(writeBuffer, BeginFW.FIELD_OFFSET_EXTENSION, writeBuffer.capacity()) @@ -5610,7 +5620,7 @@ private MessageConsumer newOffsetCommitStream( String host, int port) { - final String groupId = String.format("%s-%s", clientId.asString(), GROUPID_SESSION_SUFFIX); + final String groupId = String.format("%s-%s-%s", groupIdPrefix, clientId.asString(), GROUPID_SESSION_SUFFIX); final KafkaBeginExFW kafkaBeginEx = kafkaBeginExRW.wrap(writeBuffer, BeginFW.FIELD_OFFSET_EXTENSION, writeBuffer.capacity()) diff --git a/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaStreamFactory.java b/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaStreamFactory.java index 6aaf100848..bbc9e9c44c 100644 --- a/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaStreamFactory.java +++ b/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaStreamFactory.java @@ -30,7 +30,7 @@ default void detach( } default void onAttached( - long binding) + long bindingId) { } diff --git a/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaSubscribeFactory.java b/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaSubscribeFactory.java index ebbfc1d362..956d8cf1a9 100644 --- a/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaSubscribeFactory.java +++ b/runtime/binding-mqtt-kafka/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/kafka/internal/stream/MqttKafkaSubscribeFactory.java @@ -28,6 +28,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Objects; +import java.util.function.Function; import java.util.function.IntConsumer; import java.util.function.LongFunction; import java.util.function.LongUnaryOperator; @@ -176,7 +177,12 @@ public class MqttKafkaSubscribeFactory implements MqttKafkaStreamFactory private final Int2ObjectHashMap offsetsPerPacketId; private final Long2ObjectHashMap highWaterMarks; private final Object2IntHashMap qosLevels; + private final String groupIdPrefixFormat; + private final Function supplyNamespace; + private final Function supplyLocalName; + private int reconnectAttempt; + private String groupIdPrefix; public MqttKafkaSubscribeFactory( MqttKafkaConfiguration config, @@ -209,6 +215,9 @@ public MqttKafkaSubscribeFactory( this.qosLevels.put("0", 0); this.qosLevels.put("1", 1); this.qosLevels.put("2", 2); + this.groupIdPrefixFormat = config.groupIdPrefixFormat(); + this.supplyNamespace = context::supplyNamespace; + this.supplyLocalName = context::supplyLocalName; } @Override @@ -230,6 +239,8 @@ public void onAttached( this.qosNames.put(0, new String16FW("0")); this.qosNames.put(1, new String16FW("1")); this.qosNames.put(2, new String16FW("2")); + this.groupIdPrefix = + String.format(groupIdPrefixFormat, supplyNamespace.apply(bindingId), supplyLocalName.apply(bindingId)); } @Override @@ -2654,7 +2665,7 @@ private MessageConsumer newKafkaStream( m.topic(topic); if (qos >= MqttQoS.AT_LEAST_ONCE.value()) { - m.groupId(clientId); + m.groupId(String.format("%s-%s", groupIdPrefix, clientId.asString())); } m.partitionsItem(p -> p.partitionId(offsetType.value()) diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.mixture.qos/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.mixture.qos/client.rpt index f828fe54bc..047683d143 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.mixture.qos/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.mixture.qos/client.rpt @@ -56,7 +56,7 @@ connect await SENT_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -65,7 +65,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -146,7 +146,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -177,7 +177,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -235,7 +235,7 @@ connect await RECEIVED_PRODUCER write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") @@ -404,7 +404,7 @@ connect await RECEIVED_SESSION_STATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.mixture.qos/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.mixture.qos/server.rpt index a9c56f3429..9712ddc994 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.mixture.qos/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.mixture.qos/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -62,7 +62,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -139,7 +139,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -169,7 +169,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -221,7 +221,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") @@ -378,7 +378,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.init.producer.abort/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.init.producer.abort/client.rpt index 52e8157fab..45ee66c2d4 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.init.producer.abort/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.init.producer.abort/client.rpt @@ -56,7 +56,7 @@ connect await SENT_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -65,7 +65,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -146,7 +146,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -177,7 +177,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.init.producer.abort/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.init.producer.abort/server.rpt index 6902e218ac..b99a6af17d 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.init.producer.abort/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.init.producer.abort/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -62,7 +62,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -139,7 +139,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -169,7 +169,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.meta.abort/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.meta.abort/client.rpt index 443f1e7ad8..6cc69463ff 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.meta.abort/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.meta.abort/client.rpt @@ -56,7 +56,7 @@ connect await SENT_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -65,7 +65,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.meta.abort/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.meta.abort/server.rpt index 2a941a9f15..148f797744 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.meta.abort/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.meta.abort/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -62,7 +62,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase1/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase1/client.rpt index 44fb9ec716..a884d696ec 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase1/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase1/client.rpt @@ -56,7 +56,7 @@ connect await SENT_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -65,7 +65,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -146,7 +146,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -177,7 +177,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -235,7 +235,7 @@ connect await RECEIVED_PRODUCER write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") @@ -356,7 +356,7 @@ connect await RECEIVED_SESSION_STATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase1/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase1/server.rpt index 048abff16f..7793ca0d32 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase1/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase1/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -62,7 +62,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -139,7 +139,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -169,7 +169,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -221,7 +221,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") @@ -334,7 +334,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase2/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase2/client.rpt index 66c8e4e541..b98b70a5cd 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase2/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase2/client.rpt @@ -56,7 +56,7 @@ connect await SENT_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -65,7 +65,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -146,7 +146,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -177,7 +177,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -235,7 +235,7 @@ connect await RECEIVED_PRODUCER write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase2/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase2/server.rpt index 88ec7fd4f2..f77ba95889 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase2/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.commit.abort.phase2/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -62,7 +62,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -139,7 +139,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -169,7 +169,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -221,7 +221,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.fetch.abort/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.fetch.abort/client.rpt index 1566b57c8f..aa9f7574db 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.fetch.abort/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.fetch.abort/client.rpt @@ -56,7 +56,7 @@ connect await SENT_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -65,7 +65,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -146,7 +146,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.fetch.abort/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.fetch.abort/server.rpt index 353a1ce36d..e14c2d74d5 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.fetch.abort/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.offset.fetch.abort/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -62,7 +62,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -139,7 +139,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.recovery/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.recovery/client.rpt index acb2a65cf3..20849c2933 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.recovery/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.recovery/client.rpt @@ -56,7 +56,7 @@ connect await SENT_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -65,7 +65,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -146,7 +146,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -184,7 +184,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -217,7 +217,7 @@ connect await RECEIVED_INITIAL_OFFSETS write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.recovery/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.recovery/server.rpt index e46ed2ec69..2fa8168629 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.recovery/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.recovery/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -62,7 +62,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -139,7 +139,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -175,7 +175,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -206,7 +206,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.retained/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.retained/client.rpt index 61b4e9c8be..c93e60e14f 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.retained/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.retained/client.rpt @@ -56,7 +56,7 @@ connect await SENT_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -65,7 +65,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -146,7 +146,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -178,7 +178,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -236,7 +236,7 @@ connect await RECEIVED_PRODUCER write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") @@ -385,7 +385,7 @@ connect await RECEIVED_SESSION_STATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.retained/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.retained/server.rpt index c50e6f077d..667dd6930e 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.retained/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2.retained/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -62,7 +62,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -139,7 +139,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -169,7 +169,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -221,7 +221,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") @@ -360,7 +360,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2/client.rpt index 2d567ec776..9a9a600da7 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2/client.rpt @@ -56,7 +56,7 @@ connect await SENT_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -65,7 +65,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -146,7 +146,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -177,7 +177,7 @@ connect await RECEIVED_PARTITION_METADATA write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -235,7 +235,7 @@ connect await RECEIVED_PRODUCER write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") @@ -384,7 +384,7 @@ connect await RECEIVED_SESSION_STATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2/server.rpt index 5fdddaf3c0..73374d38c2 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.qos2/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() @@ -62,7 +62,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .instanceId("zilla") .host("broker1.example.com") @@ -139,7 +139,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-messages") @@ -169,7 +169,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetFetch() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .host("broker1.example.com") .port(9092) .topic("mqtt-retained") @@ -221,7 +221,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") @@ -362,7 +362,7 @@ accepted read zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .offsetCommit() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .memberId("consumer-1") .instanceId("zilla") .host("broker1.example.com") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.reject.qos2/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.reject.qos2/client.rpt index 3fdd0c6ee0..9cabefa019 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.reject.qos2/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.reject.qos2/client.rpt @@ -58,7 +58,7 @@ connect await SENT_INIT_MIGRATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.reject.qos2/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.reject.qos2/server.rpt index 18fedbb5d2..86b84d0d37 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.reject.qos2/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/publish.reject.qos2/server.rpt @@ -55,7 +55,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-session") + .groupId("zilla:test-mqtt0-client-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.expire.session.state/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.expire.session.state/client.rpt index 2c85050720..986be7a582 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.expire.session.state/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.expire.session.state/client.rpt @@ -147,7 +147,7 @@ connect await SENT_INITIAL_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.expire.session.state/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.expire.session.state/server.rpt index e91cec466b..f71b8a5e36 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.expire.session.state/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.expire.session.state/server.rpt @@ -148,7 +148,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.reconnect.non.clean.start/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.reconnect.non.clean.start/client.rpt index 80fe36103c..e9ba898ca0 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.reconnect.non.clean.start/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.reconnect.non.clean.start/client.rpt @@ -59,7 +59,7 @@ connect await INIT_MIGRATE_SENT write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() @@ -279,7 +279,7 @@ connect await INIT2_MIGRATE_SENT write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.reconnect.non.clean.start/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.reconnect.non.clean.start/server.rpt index db0768bf21..cc8ed41bd5 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.reconnect.non.clean.start/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.abort.reconnect.non.clean.start/server.rpt @@ -55,7 +55,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() @@ -260,7 +260,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.sent.reset/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.sent.reset/client.rpt index e916057f57..d74b6f5caf 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.sent.reset/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.sent.reset/client.rpt @@ -59,7 +59,7 @@ connect await SENT_INIT_MIGRATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.sent.reset/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.sent.reset/server.rpt index 29f8e82d9d..89910ba678 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.sent.reset/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.sent.reset/server.rpt @@ -56,7 +56,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.takeover/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.takeover/client.rpt index cd26e98ac7..3433866e4e 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.takeover/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.takeover/client.rpt @@ -59,7 +59,7 @@ connect await INIT_MIGRATE_CLOSED write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() @@ -335,7 +335,7 @@ connect await INIT_MIGRATE2_FINISHED write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.takeover/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.takeover/server.rpt index aa8c917076..2742732c13 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.takeover/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.client.takeover/server.rpt @@ -55,7 +55,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() @@ -326,7 +326,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.close.expire.session.state/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.close.expire.session.state/client.rpt index 87d324f040..1fc5137875 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.close.expire.session.state/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.close.expire.session.state/client.rpt @@ -177,7 +177,7 @@ connect await SENT_INITIAL_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.close.expire.session.state/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.close.expire.session.state/server.rpt index 9539436f92..283105d6c8 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.close.expire.session.state/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.close.expire.session.state/server.rpt @@ -180,7 +180,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.max.session.expiry/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.max.session.expiry/client.rpt index 7844bab3b2..a3ecbadd58 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.max.session.expiry/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.max.session.expiry/client.rpt @@ -59,7 +59,7 @@ connect await INIT_MIGRATE_CLOSED write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(100000) .build() @@ -68,7 +68,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(30000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.max.session.expiry/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.max.session.expiry/server.rpt index a191d61495..99d155cd98 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.max.session.expiry/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.max.session.expiry/server.rpt @@ -55,7 +55,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(100000) .build() @@ -64,7 +64,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(30000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.min.session.expiry/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.min.session.expiry/client.rpt index fd9404995d..1067543da3 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.min.session.expiry/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.min.session.expiry/client.rpt @@ -59,7 +59,7 @@ connect await INIT_MIGRATE_CLOSED write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(2147483647) .build() @@ -68,7 +68,7 @@ write zilla:begin.ext ${kafka:beginEx() read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(2000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.min.session.expiry/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.min.session.expiry/server.rpt index ab0c13d4ee..4dff84a947 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.min.session.expiry/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.connect.override.min.session.expiry/server.rpt @@ -55,7 +55,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(2147483647) .build() @@ -64,7 +64,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(2000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.exists.clean.start/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.exists.clean.start/client.rpt index fa3f853487..9b594e0250 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.exists.clean.start/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.exists.clean.start/client.rpt @@ -59,7 +59,7 @@ connect await INIT_MIGRATE_SENT1 write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() @@ -331,7 +331,7 @@ connect await INIT_MIGRATE_SENT2 write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.exists.clean.start/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.exists.clean.start/server.rpt index ccdb515366..31b3fc7545 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.exists.clean.start/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.exists.clean.start/server.rpt @@ -54,7 +54,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() @@ -324,7 +324,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.describe.config/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.describe.config/client.rpt index 1dbf3d9fd4..d1ebfd37ba 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.describe.config/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.describe.config/client.rpt @@ -56,7 +56,7 @@ connect await SENT_INIT_MIGRATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.describe.config/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.describe.config/server.rpt index 9ac10dd099..7a1913e35d 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.describe.config/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.describe.config/server.rpt @@ -54,7 +54,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.session.timeout/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.session.timeout/client.rpt index bd9cc67716..c3e8ed5b30 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.session.timeout/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.session.timeout/client.rpt @@ -56,7 +56,7 @@ connect await SENT_INIT_MIGRATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.session.timeout/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.session.timeout/server.rpt index 81bea19f30..93f0eeca09 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.session.timeout/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.invalid.session.timeout/server.rpt @@ -54,7 +54,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.not.authorized/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.not.authorized/client.rpt index 09c1567649..5c7d939456 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.not.authorized/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.not.authorized/client.rpt @@ -56,7 +56,7 @@ connect await SENT_INIT_MIGRATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.not.authorized/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.not.authorized/server.rpt index edb6577317..c9cdd8e2b3 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.not.authorized/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.reset.not.authorized/server.rpt @@ -54,7 +54,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.server.sent.reset/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.server.sent.reset/client.rpt index 7a6a7c99b6..6868ec0eba 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.server.sent.reset/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.server.sent.reset/client.rpt @@ -59,7 +59,7 @@ connect await SENT_INIT_MIGRATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.server.sent.reset/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.server.sent.reset/server.rpt index 67940525cc..6ea7e9f0f4 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.server.sent.reset/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.group.server.sent.reset/server.rpt @@ -56,7 +56,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.redirect/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.redirect/client.rpt index 071a65a2a9..e676db825f 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.redirect/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.redirect/client.rpt @@ -60,7 +60,7 @@ connect await SENT_INIT_MIGRATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.redirect/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.redirect/server.rpt index e0cb1dfcad..305a24424f 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.redirect/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.redirect/server.rpt @@ -57,7 +57,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.server.sent.reset/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.server.sent.reset/client.rpt index 73cecfe231..9388701d18 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.server.sent.reset/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.server.sent.reset/client.rpt @@ -58,7 +58,7 @@ connect await SENT_INIT_MIGRATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.server.sent.reset/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.server.sent.reset/server.rpt index 4631dedee5..bb198e28b5 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.server.sent.reset/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.server.sent.reset/server.rpt @@ -56,7 +56,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe.via.session.state/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe.via.session.state/client.rpt index 69b8f44a8c..e80faf6768 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe.via.session.state/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe.via.session.state/client.rpt @@ -56,7 +56,7 @@ connect await INIT_MIGRATE_SENT write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe.via.session.state/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe.via.session.state/server.rpt index 73a5bd57de..729aab023a 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe.via.session.state/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe.via.session.state/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe/client.rpt index 8a53c1ae7e..b59b1065f4 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe/client.rpt @@ -59,7 +59,7 @@ connect await SENT_INIT_MIGRATE write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe/server.rpt index 358d5c8121..7bc477eb3c 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.subscribe/server.rpt @@ -56,7 +56,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.after.subscribe/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.after.subscribe/client.rpt index f29a72c182..77d0e9f4e8 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.after.subscribe/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.after.subscribe/client.rpt @@ -56,7 +56,7 @@ connect await SESSION1_FINISHED write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.after.subscribe/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.after.subscribe/server.rpt index f933edc8db..a7c99572e9 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.after.subscribe/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.after.subscribe/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.via.session.state/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.via.session.state/client.rpt index 0c5d9187a0..20fffaf2af 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.via.session.state/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.via.session.state/client.rpt @@ -56,7 +56,7 @@ connect await INIT_MIGRATE_SENT write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.via.session.state/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.via.session.state/server.rpt index 50d7bace4f..6985511349 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.via.session.state/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.unsubscribe.via.session.state/server.rpt @@ -53,7 +53,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.10k.abort.deliver.will/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.10k.abort.deliver.will/client.rpt index 56c3d90960..475d319c22 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.10k.abort.deliver.will/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.10k.abort.deliver.will/client.rpt @@ -188,7 +188,7 @@ connect await SENT_INITIAL_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.10k.abort.deliver.will/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.10k.abort.deliver.will/server.rpt index ed852ab2c7..6a94ceafa1 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.10k.abort.deliver.will/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.10k.abort.deliver.will/server.rpt @@ -190,7 +190,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will.retain/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will.retain/client.rpt index cc9a9f494d..175abe3f8a 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will.retain/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will.retain/client.rpt @@ -188,7 +188,7 @@ connect await SENT_INITIAL_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will.retain/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will.retain/server.rpt index 6b618ea998..3ccb56a839 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will.retain/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will.retain/server.rpt @@ -190,7 +190,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will/client.rpt index b21d0d9550..2da8d3d277 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will/client.rpt @@ -188,7 +188,7 @@ connect await SENT_INITIAL_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will/server.rpt index 254ba8d3b1..22811efe8a 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.abort.deliver.will/server.rpt @@ -190,7 +190,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.clean.start/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.clean.start/client.rpt index e1f30e79db..817b6c1a8f 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.clean.start/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.clean.start/client.rpt @@ -103,7 +103,7 @@ connect await SENT_INITIAL_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.clean.start/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.clean.start/server.rpt index 05d35c0392..16a7cfba85 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.clean.start/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.clean.start/server.rpt @@ -103,7 +103,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.normal.disconnect/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.normal.disconnect/client.rpt index b825342e82..8c7b13309d 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.normal.disconnect/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.normal.disconnect/client.rpt @@ -174,7 +174,7 @@ connect await SENT_INITIAL_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.normal.disconnect/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.normal.disconnect/server.rpt index ae33b84729..351b8caddb 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.normal.disconnect/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.normal.disconnect/server.rpt @@ -173,7 +173,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.takeover.deliver.will/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.takeover.deliver.will/client.rpt index e233a0b86f..74a65f0e73 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.takeover.deliver.will/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.takeover.deliver.will/client.rpt @@ -188,7 +188,7 @@ connect await SENT_INITIAL_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.takeover.deliver.will/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.takeover.deliver.will/server.rpt index 6019ac10ae..a0be2a761f 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.takeover.deliver.will/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.takeover.deliver.will/server.rpt @@ -190,7 +190,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.will.id.mismatch.skip.delivery/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.will.id.mismatch.skip.delivery/client.rpt index 70fe06ec70..68b227a578 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.will.id.mismatch.skip.delivery/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.will.id.mismatch.skip.delivery/client.rpt @@ -163,7 +163,7 @@ connect await SENT_INITIAL_MIGRATE_SIGNAL write zilla:begin.ext ${kafka:beginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.will.id.mismatch.skip.delivery/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.will.id.mismatch.skip.delivery/server.rpt index 9fe8fe5ce4..c9a082c223 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.will.id.mismatch.skip.delivery/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/session.will.message.will.id.mismatch.skip.delivery/server.rpt @@ -163,7 +163,7 @@ accepted read zilla:begin.ext ${kafka:matchBeginEx() .typeId(zilla:id("kafka")) .group() - .groupId("client-1-session") + .groupId("zilla:test-mqtt0-client-1-session") .protocol("highlander") .timeout(1000) .build() diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.overlapping.wildcard.mixed.qos/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.overlapping.wildcard.mixed.qos/client.rpt index db7deb6ca0..de153e4569 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.overlapping.wildcard.mixed.qos/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.overlapping.wildcard.mixed.qos/client.rpt @@ -82,7 +82,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -176,7 +176,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.overlapping.wildcard.mixed.qos/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.overlapping.wildcard.mixed.qos/server.rpt index 3cdb43bffd..bcbc9570bd 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.overlapping.wildcard.mixed.qos/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.overlapping.wildcard.mixed.qos/server.rpt @@ -82,7 +82,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -177,7 +177,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1.published.qos2/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1.published.qos2/client.rpt index 3b0fd8ac48..824c066ba8 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1.published.qos2/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1.published.qos2/client.rpt @@ -55,7 +55,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1.published.qos2/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1.published.qos2/server.rpt index 2c2557a72b..88821e9c6a 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1.published.qos2/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1.published.qos2/server.rpt @@ -55,7 +55,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1/client.rpt index 2a56eb052b..706b0e8300 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1/client.rpt @@ -55,7 +55,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1/server.rpt index ee9d24fca4..49585fa027 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos1/server.rpt @@ -55,7 +55,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos2/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos2/client.rpt index a69d804085..2e02f04bc9 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos2/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos2/client.rpt @@ -55,7 +55,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -89,7 +89,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos2/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos2/server.rpt index 5fa79e6863..bb3cf4daba 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos2/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.message.qos2/server.rpt @@ -55,7 +55,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -87,7 +87,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.messages.mixture.qos/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.messages.mixture.qos/client.rpt index 9a163c068a..34ca570c6f 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.messages.mixture.qos/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.messages.mixture.qos/client.rpt @@ -73,7 +73,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -141,7 +141,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.messages.mixture.qos/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.messages.mixture.qos/server.rpt index 9170ccb85b..89fd7a8a61 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.messages.mixture.qos/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.receive.messages.mixture.qos/server.rpt @@ -75,7 +75,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -145,7 +145,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos1.unacked.message/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos1.unacked.message/client.rpt index 5491586816..75eb71eedd 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos1.unacked.message/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos1.unacked.message/client.rpt @@ -57,7 +57,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -147,7 +147,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos1.unacked.message/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos1.unacked.message/server.rpt index e1857b9bfc..98e5ebe124 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos1.unacked.message/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos1.unacked.message/server.rpt @@ -57,7 +57,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -141,7 +141,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.incomplete.message/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.incomplete.message/client.rpt index 6ea03c6f8e..77e749c090 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.incomplete.message/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.incomplete.message/client.rpt @@ -57,7 +57,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -93,7 +93,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -196,7 +196,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -231,7 +231,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.incomplete.message/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.incomplete.message/server.rpt index fef08595d9..052bff1ecc 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.incomplete.message/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.incomplete.message/server.rpt @@ -57,7 +57,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -91,7 +91,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -189,7 +189,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -221,7 +221,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.unreceived.message/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.unreceived.message/client.rpt index 13394d3897..1183e456e7 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.unreceived.message/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.unreceived.message/client.rpt @@ -57,7 +57,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -93,7 +93,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -184,7 +184,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -219,7 +219,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.unreceived.message/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.unreceived.message/server.rpt index fef2858068..8e881de11b 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.unreceived.message/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.reconnect.replay.qos2.unreceived.message/server.rpt @@ -57,7 +57,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -91,7 +91,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -177,7 +177,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -209,7 +209,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos1/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos1/client.rpt index 2b3cef30c2..18a12d7bfe 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos1/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos1/client.rpt @@ -93,7 +93,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-retained") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -166,7 +166,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos1/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos1/server.rpt index 444ad61a23..aa91647649 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos1/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos1/server.rpt @@ -91,7 +91,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-retained") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -163,7 +163,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos2/client.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos2/client.rpt index 4e6f38e92b..faaed22e95 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos2/client.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos2/client.rpt @@ -94,7 +94,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-retained") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -133,7 +133,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -167,7 +167,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-retained") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -262,7 +262,7 @@ write zilla:begin.ext ${kafka:beginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos2/server.rpt b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos2/server.rpt index b96ddb2bf4..9ce6f74566 100644 --- a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos2/server.rpt +++ b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/streams/kafka/subscribe.replay.retained.message.qos2/server.rpt @@ -91,7 +91,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-retained") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -128,7 +128,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -160,7 +160,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-retained") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") @@ -254,7 +254,7 @@ read zilla:begin.ext ${kafka:matchBeginEx() .merged() .capabilities("FETCH_ONLY") .topic("mqtt-messages") - .groupId("client") + .groupId("zilla:test-mqtt0-client") .filter() .headers("zilla:filter") .sequence("sensor") From 46e1f6ee0d245cce5da73d136315fe93c6290ea5 Mon Sep 17 00:00:00 2001 From: Attila Kreiner Date: Tue, 21 May 2024 20:24:13 +0200 Subject: [PATCH 4/8] Sort frames by timestamp in dump command (#1041) --- .../internal/airline/ZillaDumpCommand.java | 25 ++++++++++++++++--- .../airline/spy/OneToOneRingBufferSpy.java | 23 +++++++++++++++++ .../internal/airline/spy/RingBufferSpy.java | 2 ++ 3 files changed, 46 insertions(+), 4 deletions(-) diff --git a/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommand.java b/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommand.java index 59c2fd5a23..d10f2f0848 100644 --- a/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommand.java +++ b/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommand.java @@ -217,6 +217,8 @@ public final class ZillaDumpCommand extends ZillaCommand private final TcpHeaderFW.Builder tcpHeaderRW = new TcpHeaderFW.Builder(); private final MutableDirectBuffer patchBuffer; private final MutableDirectBuffer writeBuffer; + private int minWorkerIndex; + private long minTimeStamp; private Path directory; @@ -332,11 +334,26 @@ public void run() do { workCount = 0; - for (int i = 0; i < streamBufferCount; i++) + minWorkerIndex = 0; + minTimeStamp = Long.MAX_VALUE; + int framesPeeked = 0; + for (int j = 0; j < streamBufferCount; j++) { - final RingBufferSpy streamBuffer = streamBuffers[i]; - MessagePredicate spyHandler = dumpHandlers[i]::handleFrame; - workCount += streamBuffer.spy(spyHandler, 1); + final int workerIndex = j; + framesPeeked += streamBuffers[workerIndex].peek((m, b, i, l) -> + { + frameRO.wrap(b, i, i + l); + if (frameRO.timestamp() < minTimeStamp) + { + minTimeStamp = frameRO.timestamp(); + minWorkerIndex = workerIndex; + } + }); + } + if (framesPeeked > 0) + { + MessagePredicate spyHandler = dumpHandlers[minWorkerIndex]::handleFrame; + workCount += streamBuffers[minWorkerIndex].spy(spyHandler, 1); } idleStrategy.idle(workCount); } while (workCount != exitWorkCount); diff --git a/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/spy/OneToOneRingBufferSpy.java b/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/spy/OneToOneRingBufferSpy.java index dc5ab7394b..c84b2272e2 100644 --- a/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/spy/OneToOneRingBufferSpy.java +++ b/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/spy/OneToOneRingBufferSpy.java @@ -30,6 +30,7 @@ import org.agrona.DirectBuffer; import org.agrona.concurrent.AtomicBuffer; +import io.aklivity.zilla.runtime.engine.binding.function.MessageConsumer; import io.aklivity.zilla.runtime.engine.binding.function.MessagePredicate; public class OneToOneRingBufferSpy implements RingBufferSpy @@ -146,4 +147,26 @@ public int spy( return messagesRead; } + + @Override + public int peek( + final MessageConsumer handler) + { + final AtomicBuffer buffer = this.buffer; + final long head = spyPosition.get(); + final int capacity = this.capacity; + final int headIndex = (int)head & (capacity - 1); + final int recordLength = buffer.getIntVolatile(lengthOffset(headIndex)); + int messagesPeeked = 0; + if (recordLength > 0) + { + final int messageTypeId = buffer.getInt(typeOffset(headIndex)); + if (PADDING_MSG_TYPE_ID != messageTypeId) + { + handler.accept(messageTypeId, buffer, headIndex + HEADER_LENGTH, recordLength - HEADER_LENGTH); + messagesPeeked = 1; + } + } + return messagesPeeked; + } } diff --git a/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/spy/RingBufferSpy.java b/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/spy/RingBufferSpy.java index ff127e22f5..d27b53267e 100644 --- a/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/spy/RingBufferSpy.java +++ b/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/spy/RingBufferSpy.java @@ -16,6 +16,7 @@ import org.agrona.DirectBuffer; +import io.aklivity.zilla.runtime.engine.binding.function.MessageConsumer; import io.aklivity.zilla.runtime.engine.binding.function.MessagePredicate; public interface RingBufferSpy @@ -31,6 +32,7 @@ enum SpyPosition int spy(MessagePredicate handler); int spy(MessagePredicate handler, int messageCountLimit); + int peek(MessageConsumer handler); long producerPosition(); long consumerPosition(); From 12b8c927222519f6ca18c6785e6b676f8e631c31 Mon Sep 17 00:00:00 2001 From: Attila Kreiner Date: Wed, 22 May 2024 19:07:43 +0200 Subject: [PATCH 5/8] Split protocol testing into separate ITs for zilla dump command (#989) --- incubator/command-dump/pom.xml | 65 +- .../internal/airline/ZillaDumpCommand.java | 2 +- .../connect.as.receiver.only/client.rpt | 40 + .../connect.as.receiver.only/server.rpt | 41 + .../link/attach.as.receiver.only/client.rpt | 116 + .../link/attach.as.receiver.only/server.rpt | 116 + .../read.file.extension/client.rpt | 39 + .../read.file.extension/server.rpt | 40 + .../message.exchange/client.rpt | 48 + .../message.exchange/server.rpt | 48 + .../challenge.credentials.header/client.rpt | 64 + .../challenge.credentials.header/server.rpt | 66 + .../challenge.credentials.header/client.rpt | 106 + .../challenge.credentials.header/server.rpt | 108 + .../describe/topic.config.info/client.rpt | 47 + .../describe/topic.config.info/server.rpt | 53 + .../fetch/partition.offset/client.rpt | 76 + .../fetch/partition.offset/server.rpt | 75 + .../group/rebalance.sync.group/client.rpt | 74 + .../group/rebalance.sync.group/server.rpt | 77 + .../produce.new.id/client.rpt | 41 + .../produce.new.id/server.rpt | 47 + .../merged.fetch.filter.sync/client.rpt | 54 + .../merged.fetch.filter.sync/server.rpt | 59 + .../meta/topic.partition.info/client.rpt | 46 + .../meta/topic.partition.info/server.rpt | 52 + .../update.topic.partition.offset/client.rpt | 49 + .../update.topic.partition.offset/server.rpt | 51 + .../offset.fetch/topic.offset.info/client.rpt | 44 + .../offset.fetch/topic.offset.info/server.rpt | 49 + .../produce/message.producer.id/client.rpt | 91 + .../produce/message.producer.id/server.rpt | 84 + .../topic.config.info/client.rpt | 59 + .../topic.config.info/server.rpt | 55 + .../publish.one.message.properties/client.rpt | 84 + .../publish.one.message.properties/server.rpt | 78 + .../subscribe.one.message/client.rpt | 96 + .../subscribe.one.message/server.rpt | 93 + .../publish.one.message.properties/client.rpt | 50 + .../publish.one.message.properties/server.rpt | 50 + .../client.rpt | 36 + .../server.rpt | 36 + .../application/data/non.empty/client.rpt | 35 + .../application/data/non.empty/server.rpt | 42 + .../connection.established/client.rpt | 37 + .../connection.established/server.rpt | 35 + .../network/connection.established/client.rpt | 30 + .../network/connection.established/server.rpt | 30 + .../advise/client.sent.challenge/client.rpt | 35 + .../advise/client.sent.challenge/server.rpt | 35 + .../command-dump/src/test/democa/client/trust | Bin 0 -> 1178 bytes .../command-dump/src/test/democa/server/keys | Bin 0 -> 3701 bytes .../dump/internal/AmqpLinkNetworkIT.java | 52 + .../internal/AmqpStreamApplicationIT.java | 53 + .../internal/FileSystemApplicationIT.java | 53 + .../GrpcServerStreamRpcApplicationIT.java | 53 + .../Http2AuthorizationApplicationIT.java | 53 + .../internal/Http2AuthorizationNetworkIT.java | 53 + .../internal/KafkaDescribeApplicationIT.java | 52 + .../KafkaDescribeConfigsNetworkIT.java | 52 + .../internal/KafkaFetchApplicationIT.java | 52 + .../internal/KafkaGroupApplicationIT.java | 52 + .../KafkaInitProducerIdApplicationIT.java | 52 + .../internal/KafkaMergedApplicationIT.java | 52 + .../dump/internal/KafkaMetaApplicationIT.java | 52 + .../KafkaOffsetCommitApplicationIT.java | 52 + .../KafkaOffsetFetchApplicationIT.java | 52 + .../internal/KafkaProduceApplicationIT.java | 52 + .../internal/MqttPublishApplicationIT.java | 52 + .../dump/internal/MqttPublishNetworkIT.java | 52 + .../internal/MqttSubscribeApplicationIT.java | 52 + .../dump/internal/ProxyApplicationIT.java | 52 + .../dump/internal/SseDataApplicationIT.java | 53 + .../dump/internal/TlsApplicationIT.java | 52 + .../command/dump/internal/TlsNetworkIT.java | 54 + .../internal/WsAdvisoryApplicationIT.java | 52 + .../airline/ZillaDumpCommandTest.java | 2949 -------- .../dump/internal/test/DumpCommandRunner.java | 42 + .../command/dump/internal/test/DumpRule.java | 148 + .../TsharkRunner.java} | 79 +- ...tworkIT_shouldExchangeAttachAsReceiver.txt | 857 +++ ...licationIT_shouldConnectAsReceiverOnly.txt | 200 + ...licationIT_shouldReadFileExtensionOnly.txt | 218 + ...ationIT_shouldEstablishServerStreamRpc.txt | 430 ++ ...ionIT_shouldChallengeCredentialsHeader.txt | 431 ++ ...orkIT_shouldChallengeCredentialsHeader.txt | 932 +++ ...icationIT_shouldReceiveTopicConfigInfo.txt | 295 + ...NetworkIT_shouldReceiveTopicConfigInfo.txt | 332 + ...icationIT_shouldRequestPartitionOffset.txt | 503 ++ ...ationIT_shouldHandleRebalanceSyncGroup.txt | 545 ++ ...licationIT_shouldGenerateNewProducerId.txt | 194 + ...licationIT_shouldFetchMergedFilterSync.txt | 336 + ...tionIT_shouldReceiveTopicPartitionInfo.txt | 282 + ...ionIT_shouldUpdateTopicPartitionOffset.txt | 289 + ...plicationIT_shouldFetchTopicOffsetInfo.txt | 287 + ...T_shouldSendMessageValueWithProducerId.txt | 590 ++ ...lishApplicationIT_shouldSendOneMessage.txt | 585 ++ ...tPublishNetworkIT_shouldSendOneMessage.txt | 407 ++ ...eApplicationIT_shouldReceiveOneMessage.txt | 757 ++ ..._shouldConnectLocalClientSendsBeginExt.txt | 195 + ...pplicationIT_shouldReceiveNonEmptyData.txt | 281 + ...pplicationIT_shouldEstablishConnection.txt | 194 + ...TlsNetworkIT_shouldEstablishConnection.txt | 754 ++ ...ionIT_shouldReceiveClientSentChallenge.txt | 225 + .../dump/internal/airline/engine/bindings | Bin 400 -> 0 bytes .../dump/internal/airline/engine/data0 | Bin 33536 -> 0 bytes .../dump/internal/airline/engine/data1 | Bin 33536 -> 0 bytes .../dump/internal/airline/engine/data2 | Bin 33536 -> 0 bytes .../dump/internal/airline/engine/labels | 38 - .../dump/internal/airline/expected_dump.pcap | Bin 38201 -> 0 bytes .../dump/internal/airline/expected_dump.txt | 6502 ----------------- .../airline/expected_filtered_dump.pcap | Bin 281 -> 0 bytes .../airline/expected_filtered_dump.txt | 29 - .../internal/{airline => test}/Dockerfile | 0 .../k3po/ext/behavior/LabelManager.java | 11 +- 115 files changed, 14465 insertions(+), 9592 deletions(-) create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/application/connect.as.receiver.only/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/application/connect.as.receiver.only/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/network/link/attach.as.receiver.only/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/network/link/attach.as.receiver.only/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/filesystem/streams/application/read.file.extension/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/filesystem/streams/application/read.file.extension/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/grpc/streams/application/server.stream.rpc/message.exchange/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/grpc/streams/application/server.stream.rpc/message.exchange/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/application/rfc7540/authorization/challenge.credentials.header/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/application/rfc7540/authorization/challenge.credentials.header/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/describe/topic.config.info/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/describe/topic.config.info/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/fetch/partition.offset/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/fetch/partition.offset/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/group/rebalance.sync.group/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/group/rebalance.sync.group/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/init.producer.id/produce.new.id/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/init.producer.id/produce.new.id/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/merged/merged.fetch.filter.sync/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/merged/merged.fetch.filter.sync/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/meta/topic.partition.info/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/meta/topic.partition.info/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.commit/update.topic.partition.offset/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.commit/update.topic.partition.offset/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.fetch/topic.offset.info/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.fetch/topic.offset.info/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/produce/message.producer.id/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/produce/message.producer.id/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/network/describe.configs.v0/topic.config.info/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/network/describe.configs.v0/topic.config.info/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/publish.one.message.properties/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/publish.one.message.properties/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/subscribe.one.message/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/subscribe.one.message/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/network/v5/publish.one.message.properties/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/network/v5/publish.one.message.properties/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/proxy/streams/application/connected.local.client.sent.begin.ext/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/proxy/streams/application/connected.local.client.sent.begin.ext/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/sse/streams/application/data/non.empty/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/sse/streams/application/data/non.empty/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/application/connection.established/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/application/connection.established/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/network/connection.established/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/network/connection.established/server.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/ws/streams/application/advise/client.sent.challenge/client.rpt create mode 100644 incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/ws/streams/application/advise/client.sent.challenge/server.rpt create mode 100644 incubator/command-dump/src/test/democa/client/trust create mode 100644 incubator/command-dump/src/test/democa/server/keys create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/AmqpLinkNetworkIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/AmqpStreamApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/FileSystemApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/GrpcServerStreamRpcApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationNetworkIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeConfigsNetworkIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaFetchApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaGroupApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaInitProducerIdApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaMergedApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaMetaApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetCommitApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetFetchApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaProduceApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishNetworkIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttSubscribeApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/ProxyApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/SseDataApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/TlsApplicationIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/TlsNetworkIT.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/WsAdvisoryApplicationIT.java delete mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommandTest.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/DumpCommandRunner.java create mode 100644 incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/DumpRule.java rename incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/{airline/WiresharkIT.java => test/TsharkRunner.java} (57%) create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/AmqpLinkNetworkIT_shouldExchangeAttachAsReceiver.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/AmqpStreamApplicationIT_shouldConnectAsReceiverOnly.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/FileSystemApplicationIT_shouldReadFileExtensionOnly.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/GrpcServerStreamRpcApplicationIT_shouldEstablishServerStreamRpc.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationApplicationIT_shouldChallengeCredentialsHeader.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationNetworkIT_shouldChallengeCredentialsHeader.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeApplicationIT_shouldReceiveTopicConfigInfo.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeConfigsNetworkIT_shouldReceiveTopicConfigInfo.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaFetchApplicationIT_shouldRequestPartitionOffset.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaGroupApplicationIT_shouldHandleRebalanceSyncGroup.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaInitProducerIdApplicationIT_shouldGenerateNewProducerId.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaMergedApplicationIT_shouldFetchMergedFilterSync.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaMetaApplicationIT_shouldReceiveTopicPartitionInfo.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetCommitApplicationIT_shouldUpdateTopicPartitionOffset.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetFetchApplicationIT_shouldFetchTopicOffsetInfo.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaProduceApplicationIT_shouldSendMessageValueWithProducerId.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishApplicationIT_shouldSendOneMessage.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishNetworkIT_shouldSendOneMessage.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttSubscribeApplicationIT_shouldReceiveOneMessage.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/ProxyApplicationIT_shouldConnectLocalClientSendsBeginExt.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/SseDataApplicationIT_shouldReceiveNonEmptyData.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/TlsApplicationIT_shouldEstablishConnection.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/TlsNetworkIT_shouldEstablishConnection.txt create mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/WsAdvisoryApplicationIT_shouldReceiveClientSentChallenge.txt delete mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/bindings delete mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/data0 delete mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/data1 delete mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/data2 delete mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/labels delete mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/expected_dump.pcap delete mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/expected_dump.txt delete mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/expected_filtered_dump.pcap delete mode 100644 incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/expected_filtered_dump.txt rename incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/{airline => test}/Dockerfile (100%) diff --git a/incubator/command-dump/pom.xml b/incubator/command-dump/pom.xml index f74b1d239a..129f9ed179 100644 --- a/incubator/command-dump/pom.xml +++ b/incubator/command-dump/pom.xml @@ -43,6 +43,18 @@ ${project.version} provided + + ${project.groupId} + engine + test-jar + ${project.version} + test + + + junit + junit + test + ${project.groupId} command @@ -50,9 +62,13 @@ provided - io.aklivity.zilla - binding-proxy.spec - ${project.version} + org.kaazing + k3po.junit + test + + + org.kaazing + k3po.lang test @@ -99,25 +115,26 @@ io.aklivity.zilla - binding-amqp.spec + binding-proxy.spec ${project.version} test - org.junit.jupiter - junit-jupiter-engine + io.aklivity.zilla + binding-amqp.spec + ${project.version} test - org.testcontainers - testcontainers - 1.19.3 + io.aklivity.zilla + binding-tls.spec + ${project.version} test org.testcontainers - junit-jupiter - 1.19.3 + testcontainers + 1.19.7 test @@ -143,9 +160,9 @@ license-maven-plugin - src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/*.pcap - src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/*.txt - src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/* + src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/*.txt + **/keys + **/trust @@ -164,6 +181,23 @@ org.moditect moditect-maven-plugin + + org.kaazing + k3po-maven-plugin + + + ${project.groupId} + engine + ${project.version} + test-jar + + + ${project.groupId} + engine + ${project.version} + + + org.apache.maven.plugins maven-failsafe-plugin @@ -227,6 +261,9 @@ **/zilla.lua + + src/main/scripts + diff --git a/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommand.java b/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommand.java index d10f2f0848..71165270a1 100644 --- a/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommand.java +++ b/incubator/command-dump/src/main/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommand.java @@ -191,7 +191,7 @@ public final class ZillaDumpCommand extends ZillaCommand hidden = true) public boolean exceptions; - boolean continuous = true; + public boolean continuous = true; private final FrameFW frameRO = new FrameFW(); private final BeginFW beginRO = new BeginFW(); diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/application/connect.as.receiver.only/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/application/connect.as.receiver.only/client.rpt new file mode 100644 index 0000000000..0e3663a649 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/application/connect.as.receiver.only/client.rpt @@ -0,0 +1,40 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${amqp:beginEx() + .typeId(zilla:id("amqp")) + .address("clients") + .capabilities("RECEIVE_ONLY") + .senderSettleMode("SETTLED") + .receiverSettleMode("FIRST") + .build()} + +read zilla:begin.ext ${amqp:beginEx() + .typeId(zilla:id("amqp")) + .address("clients") + .capabilities("RECEIVE_ONLY") + .senderSettleMode("SETTLED") + .receiverSettleMode("FIRST") + .build()} +connected + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/application/connect.as.receiver.only/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/application/connect.as.receiver.only/server.rpt new file mode 100644 index 0000000000..197fc1019e --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/application/connect.as.receiver.only/server.rpt @@ -0,0 +1,41 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +accepted + +read zilla:begin.ext ${amqp:beginEx() + .typeId(zilla:id("amqp")) + .address("clients") + .capabilities("RECEIVE_ONLY") + .senderSettleMode("SETTLED") + .receiverSettleMode("FIRST") + .build()} + +write zilla:begin.ext ${amqp:beginEx() + .typeId(zilla:id("amqp")) + .address("clients") + .capabilities("RECEIVE_ONLY") + .senderSettleMode("SETTLED") + .receiverSettleMode("FIRST") + .build()} +connected + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/network/link/attach.as.receiver.only/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/network/link/attach.as.receiver.only/client.rpt new file mode 100644 index 0000000000..4a6fc7c752 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/network/link/attach.as.receiver.only/client.rpt @@ -0,0 +1,116 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/net0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +connected + +# header exchange +write "AMQP" [0x00 0x01 0x00 0x00] +read "AMQP" [0x00 0x01 0x00 0x00] + +# open frame exchange +write [0x00 0x00 0x00 0x16] # size = 22 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x10] # performative = open (16) + [0xc0 0x09 0x01] # list type (LIST1), length = 9, fields = 1 + [0xa1 0x06] "client" # container-id = "client" + +read [0x00 0x00 0x00 0x16] # size = 22 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x10] # performative = open (16) + [0xc0 0x09 0x01] # list type (LIST1), length = 9, fields = 1 + [0xa1 0x06] "server" # container-id = "server" + +# begin frame exchange +write [0x00 0x00 0x00 0x1b] # size = 27 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x11] # performative = begin (17) + [0xc0 0x0e 0x04] # list type (list8), length = 14, fields = 4 + [0x40] # remote-channel = null + [0x52 0x01] # next-outgoing-id = 1 + [0x70 0x00 0x00 0x07 0xff] # incoming-window = 2047 + [0x70 0x7f 0xff 0xff 0xff] # outgoing-window = 2147483647 + +read [0x00 0x00 0x00 0x1d] # size = 29 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x11] # performative = begin (17) + [0xc0 0x10 0x04] # list type (list8), length = 16, fields = 4 + [0x60 0x00 0x00] # remote-channel = 0 + [0x52 0x01] # next-outgoing-id = 1 + [0x70 0x00 0x01 0x00 0x00] # incoming-window = 65536 + [0x70 0x7f 0xff 0xff 0xff] # outgoing-window = 2147483647 + +# attach frame exchange +write [0x00 0x00 0x00 0x2a] # size = 42 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x12] # performative = attach (18) + [0xc0 0x1d 0x06] # list type (list8), length = 29, fields = 6 + [0xa1 0x05] "link1" # name = "link1" + [0x43] # handle = 0 + [0x41] # role = receiver + [0x50 0x01] # snd-settle-mode = settled + [0x50 0x00] # rcv-settle-mode = first + [0x00 0x53 0x28] # source + [0xc0 0x0a 0x01] # list type (list8), length = 10, fields = 1 + [0xa1 0x07] "clients" # address = "clients" + +read [0x00 0x00 0x00 0x31] # size = 49 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x12] # performative = attach (18) + [0xc0 0x24 0x0a] # list type (list8), length = 36, fields = 10 + [0xa1 0x05] "link1" # name = "link1" + [0x43] # handle = 0 + [0x42] # role = sender + [0x50 0x01] # snd-settle-mode = settled + [0x50 0x00] # rcv-settle-mode = first + [0x00 0x53 0x28] # source + [0xc0 0x0a 0x01] # list type (list8), length = 10, fields = 1 + [0xa1 0x07] "clients" # address = "clients" + [0x00 0x53 0x29 0x45] # target = empty list + [0x40] # unsettled = null + [0x40] # incomplete-unsettled = null (default = false) + [0x43] # initial-delivery-count = 0 + +# flow frame +write [0x00 0x00 0x00 0x1c] # size = 28 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x13] # performative = flow (19) + [0xc0 0x0f 0x04] # list type (list8), length = 15, fields = 4 + [0x52 0x01] # next-incoming-id = 1 + [0x70 0x00 0x00 0x07 0xff] # incoming-window = 2047 + [0x52 0x01] # next-outgoing-id = 1 + [0x70 0x7f 0xff 0xff 0xff] # outgoing-window = 2147483647 + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/network/link/attach.as.receiver.only/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/network/link/attach.as.receiver.only/server.rpt new file mode 100644 index 0000000000..595dba6001 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/network/link/attach.as.receiver.only/server.rpt @@ -0,0 +1,116 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/net0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +accepted +connected + +# header exchange +read "AMQP" [0x00 0x01 0x00 0x00] +write "AMQP" [0x00 0x01 0x00 0x00] + +# open frame exchange +read [0x00 0x00 0x00 0x16] # size = 22 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x10] # performative = open (16) + [0xc0 0x09 0x01] # list type (LIST1), length = 9, fields = 1 + [0xa1 0x06] "client" # container-id = "client" + +write [0x00 0x00 0x00 0x16] # size = 22 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x10] # performative = open (16) + [0xc0 0x09 0x01] # list type (LIST1), length = 9, fields = 1 + [0xa1 0x06] "server" # container-id = "server" + +# begin frame exchange +read [0x00 0x00 0x00 0x1b] # size = 27 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x11] # performative = begin (17) + [0xc0 0x0e 0x04] # list type (list8), length = 14, fields = 4 + [0x40] # remote-channel = null + [0x52 0x01] # next-outgoing-id = 1 + [0x70 0x00 0x00 0x07 0xff] # incoming-window = 2047 + [0x70 0x7f 0xff 0xff 0xff] # outgoing-window = 2147483647 + +write [0x00 0x00 0x00 0x1d] # size = 29 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x11] # performative = begin (17) + [0xc0 0x10 0x04] # list type (list8), length = 16, fields = 4 + [0x60 0x00 0x00] # remote-channel = 0 + [0x52 0x01] # next-outgoing-id = 1 + [0x70 0x00 0x01 0x00 0x00] # incoming-window = 65536 + [0x70 0x7f 0xff 0xff 0xff] # outgoing-window = 2147483647 + +# attach frame exchange +read [0x00 0x00 0x00 0x2a] # size = 42 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x12] # performative = attach (18) + [0xc0 0x1d 0x06] # list type (list8), length = 29, fields = 6 + [0xa1 0x05] "link1" # name = "link1" + [0x43] # handle = 0 + [0x41] # role = receiver + [0x50 0x01] # snd-settle-mode = settled + [0x50 0x00] # rcv-settle-mode = first + [0x00 0x53 0x28] # source + [0xc0 0x0a 0x01] # list type (list8), length = 10, fields = 1 + [0xa1 0x07] "clients" # address = "clients" + +write [0x00 0x00 0x00 0x31] # size = 49 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x12] # performative = attach (18) + [0xc0 0x24 0x0a] # list type (list8), length = 36, fields = 10 + [0xa1 0x05] "link1" # name = "link1" + [0x43] # handle = 0 + [0x42] # role = sender + [0x50 0x01] # snd-settle-mode = settled + [0x50 0x00] # rcv-settle-mode = first + [0x00 0x53 0x28] # source + [0xc0 0x0a 0x01] # list type (list8), length = 10, fields = 1 + [0xa1 0x07] "clients" # address = "clients" + [0x00 0x53 0x29 0x45] # target = empty list + [0x40] # unsettled = null + [0x40] # incomplete-unsettled = null (default = false) + [0x43] # initial-delivery-count = 0 + +# flow frame +read [0x00 0x00 0x00 0x1c] # size = 28 + [0x02] # doff = 2 + [0x00] # type = AMQP (0) + [0x00 0x00] # channel = 0 + [0x00 0x53 0x13] # performative = flow (19) + [0xc0 0x0f 0x04] # list type (list8), length = 15, fields = 4 + [0x52 0x01] # next-incoming-id = 1 + [0x70 0x00 0x00 0x07 0xff] # incoming-window = 2047 + [0x52 0x01] # next-outgoing-id = 1 + [0x70 0x7f 0xff 0xff 0xff] # outgoing-window = 2147483647 + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/filesystem/streams/application/read.file.extension/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/filesystem/streams/application/read.file.extension/client.rpt new file mode 100644 index 0000000000..1b72139851 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/filesystem/streams/application/read.file.extension/client.rpt @@ -0,0 +1,39 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${filesystem:beginEx() + .typeId(zilla:id("filesystem")) + .capabilities("READ_EXTENSION") + .path("index.html") + .build()} +connected + +write close + +read zilla:begin.ext ${filesystem:matchBeginEx() + .typeId(zilla:id("filesystem")) + .capabilities("READ_EXTENSION") + .path("index.html") + .type("text/html") + .payloadSize(77) + .build()} + +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/filesystem/streams/application/read.file.extension/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/filesystem/streams/application/read.file.extension/server.rpt new file mode 100644 index 0000000000..b35bf66288 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/filesystem/streams/application/read.file.extension/server.rpt @@ -0,0 +1,40 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" +accepted + +read zilla:begin.ext ${filesystem:matchBeginEx() + .typeId(zilla:id("filesystem")) + .capabilities("READ_EXTENSION") + .path("index.html") + .build()} +connected + +read closed + +write zilla:begin.ext ${filesystem:beginEx() + .typeId(zilla:id("filesystem")) + .capabilities("READ_EXTENSION") + .path("index.html") + .type("text/html") + .payloadSize(77) + .build()} +write flush + +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/grpc/streams/application/server.stream.rpc/message.exchange/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/grpc/streams/application/server.stream.rpc/message.exchange/client.rpt new file mode 100644 index 0000000000..7008ee8778 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/grpc/streams/application/server.stream.rpc/message.exchange/client.rpt @@ -0,0 +1,48 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${grpc:beginEx() + .typeId(zilla:id("grpc")) + .scheme("http") + .authority("localhost:8080") + .service("example.EchoService") + .method("EchoServerStream") + .metadata("custom", "test") + .build()} + +connected + +write ${grpc:protobuf() + .string(1, "Hello World") + .build()} +write flush + +write close + +read ${grpc:protobuf() + .string(1, "Hello World1") + .build()} + +read ${grpc:protobuf() + .string(1, "Hello World2") + .build()} + +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/grpc/streams/application/server.stream.rpc/message.exchange/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/grpc/streams/application/server.stream.rpc/message.exchange/server.rpt new file mode 100644 index 0000000000..402998f511 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/grpc/streams/application/server.stream.rpc/message.exchange/server.rpt @@ -0,0 +1,48 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" +accepted + +read zilla:begin.ext ${grpc:matchBeginEx() + .typeId(zilla:id("grpc")) + .scheme("http") + .authority("localhost:8080") + .service("example.EchoService") + .method("EchoServerStream") + .metadata("custom", "test") + .build()} +connected + +read ${grpc:protobuf() + .string(1, "Hello World") + .build()} + +read closed + +write ${grpc:protobuf() + .string(1, "Hello World1") + .build()} +write flush + +write ${grpc:protobuf() + .string(1, "Hello World2") + .build()} +write flush + +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/application/rfc7540/authorization/challenge.credentials.header/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/application/rfc7540/authorization/challenge.credentials.header/client.rpt new file mode 100644 index 0000000000..eabedd80fb --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/application/rfc7540/authorization/challenge.credentials.header/client.rpt @@ -0,0 +1,64 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + option zilla:authorization 1L + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":method", "GET") + .header(":scheme", "https") + .header(":path", "/") + .header(":authority", "example.com:9090") + .header("authorization", "Bearer TOKEN") + .build()} +connected + +write flush +write close + +read zilla:begin.ext ${http:matchBeginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .header("server", "Zilla") + .header("date", "Tue, 02 Feb 2022 22:22:22 GMT") + .header("content-type", "text/event-stream") + .build()} + +read "data:Hello, world\n" + "\n" + +read advise zilla:challenge ${http:challengeEx() + .typeId(zilla:id("http")) + .header(":method", "POST") + .header("content-type", "application/x-challenge-response") + .build()} + +read "type:challenge\n" + "data:" + "{" + "\"method\":\"POST\"," + "\"headers\":" + "{" + "\"content-type\":\"application/x-challenge-response\"" + "}" + "}\n" + "\n" + +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/application/rfc7540/authorization/challenge.credentials.header/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/application/rfc7540/authorization/challenge.credentials.header/server.rpt new file mode 100644 index 0000000000..2d8c091a4d --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/application/rfc7540/authorization/challenge.credentials.header/server.rpt @@ -0,0 +1,66 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + option zilla:authorization 1L + option zilla:capabilities ${core:capabilities("CHALLENGE")} +accepted + +read zilla:begin.ext ${http:matchBeginEx() + .typeId(zilla:id("http")) + .header(":method", "GET") + .header(":scheme", "https") + .header(":path", "/") + .header(":authority", "example.com:9090") + .header("authorization", "Bearer TOKEN") + .build()} +connected + +read closed + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .header("server", "Zilla") + .header("date", "Tue, 02 Feb 2022 22:22:22 GMT") + .header("content-type", "text/event-stream") + .build()} + +write "data:Hello, world\n" + "\n" +write flush + +write advised zilla:challenge ${http:challengeEx() + .typeId(zilla:id("http")) + .header(":method", "POST") + .header("content-type", "application/x-challenge-response") + .build()} + +write "type:challenge\n" + "data:" + "{" + "\"method\":\"POST\"," + "\"headers\":" + "{" + "\"content-type\":\"application/x-challenge-response\"" + "}" + "}\n" + "\n" +write flush + +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/client.rpt new file mode 100644 index 0000000000..6fba7356a9 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/client.rpt @@ -0,0 +1,106 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/net0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 40000 + option zilla:transmission "duplex" +connected + +write "PRI * HTTP/2.0\r\n" + "\r\n" + "SM\r\n" + "\r\n" +write flush + +read [0x00 0x00 0x12] # length = 18 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + +write [0x00 0x00 0x0c] # length = 12 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 +write flush + +read [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 + +write [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 +write flush + +write [0x00 0x00 0x31] # length = 49 + [0x01] # HEADERS frame + [0x05] # END_HEADERS | END_STREAM + [0x00 0x00 0x00 0x01] # stream_id = 1 + [0x82] # :method: GET + [0x87] # :scheme: https + [0x84] # :path: / + [0x01] [0x10] "example.com:9090" # :authority: example.com:9090 + [0x40] [0x0d] "authorization" + [0x0c] "Bearer TOKEN" # authorization +write flush + +read [0x00 0x00 0x3d] # length = 61 + [0x01] # HTTP2 HEADERS frame + [0x04] # END_HEADERS + [0x00 0x00 0x00 0x01] # stream_id=1 + [0x88] # :status: 200 + [0x0f] [0x27] [0x05] "Zilla" # server + [0x0f] [0x12] [0x1d] "Tue, 02 Feb 2022 22:22:22 GMT" # date + [0x0f] [0x10] [0x11] "text/event-stream" # content-type + +read [0x00 0x00 0x13] # length = 19 + [0x00] # HTTP2 DATA frame + [0x00] # no flags + [0x00 0x00 0x00 0x01] # stream_id = 1 + "data:Hello, world\n" + "\n" + +read [0x00 0x00 0x65] # length = 101 + [0x00] # HTTP2 DATA frame + [0x00] # no flags + [0x00 0x00 0x00 0x01] # stream_id = 1 + "type:challenge\n" + "data:" + "{" + "\"method\":\"POST\"," + "\"headers\":" + "{" + "\"content-type\":\"application/x-challenge-response\"" + "}" + "}\n" + "\n" + +read [0x00 0x00 0x04] # length = 4 + [0x03] # HTTP2 RST_STREAM frame + [0x00] # no flags + [0x00 0x00 0x00 0x01] # stream_id = 1 + [0x00 0x00 0x00 0x00] # NO_ERROR + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/server.rpt new file mode 100644 index 0000000000..8e294b4820 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/server.rpt @@ -0,0 +1,108 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/net0" + option zilla:timestamps "false" + option zilla:window 40000 + option zilla:transmission "duplex" +accepted +connected + +read "PRI * HTTP/2.0\r\n" + "\r\n" + "SM\r\n" + "\r\n" + +write [0x00 0x00 0x12] # length = 18 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 +write flush + +read [0x00 0x00 0x0c] # length = 12 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 + +write [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 +write flush + +read [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 + +read [0x00 0x00 0x31] # length = 49 + [0x01] # HEADERS frame + [0x05] # END_HEADERS | END_STREAM + [0x00 0x00 0x00 0x01] # stream_id = 1 + [0x82] # :method: GET + [0x87] # :scheme: https + [0x84] # :path: / + [0x01] [0x10] "example.com:9090" # :authority: example.com:9090 + [0x40] [0x0d] "authorization" + [0x0c] "Bearer TOKEN" # authorization + +write [0x00 0x00 0x3d] # length = 61 + [0x01] # HTTP2 HEADERS frame + [0x04] # END_HEADERS + [0x00 0x00 0x00 0x01] # stream_id=1 + [0x88] # :status: 200 + [0x0f] [0x27] [0x05] "Zilla" # server + [0x0f] [0x12] [0x1d] "Tue, 02 Feb 2022 22:22:22 GMT" # date + [0x0f] [0x10] [0x11] "text/event-stream" # content-type +write flush + +write [0x00 0x00 0x13] # length = 19 + [0x00] # HTTP2 DATA frame + [0x00] # no flags + [0x00 0x00 0x00 0x01] # stream_id = 1 + "data:Hello, world\n" + "\n" +write flush + +write [0x00 0x00 0x65] # length = 101 + [0x00] # HTTP2 DATA frame + [0x00] # no flags + [0x00 0x00 0x00 0x01] # stream_id = 1 + "type:challenge\n" + "data:" + "{" + "\"method\":\"POST\"," + "\"headers\":" + "{" + "\"content-type\":\"application/x-challenge-response\"" + "}" + "}\n" + "\n" +write flush + +write [0x00 0x00 0x04] # length = 4 + [0x03] # HTTP2 RST_STREAM frame + [0x00] # no flags + [0x00 0x00 0x00 0x01] # stream_id = 1 + [0x00 0x00 0x00 0x00] # NO_ERROR +write flush + +read closed +write close \ No newline at end of file diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/describe/topic.config.info/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/describe/topic.config.info/client.rpt new file mode 100644 index 0000000000..dfdab808b1 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/describe/topic.config.info/client.rpt @@ -0,0 +1,47 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .describe() + .topic("test") + .config("cleanup.policy") + .build() + .build()} + +connected + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .describe() + .topic("test") + .config("cleanup.policy") + .build() + .build()} + +read zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .describe() + .config("cleanup.policy", "compact") + .build() + .build()} + +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/describe/topic.config.info/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/describe/topic.config.info/server.rpt new file mode 100644 index 0000000000..e7845a1b2f --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/describe/topic.config.info/server.rpt @@ -0,0 +1,53 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property serverAddress "zilla://streams/app0" + +accept ${serverAddress} + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +accepted + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .describe() + .topic("test") + .config("cleanup.policy") + .build() + .build()} + +connected + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .describe() + .topic("test") + .config("cleanup.policy") + .build() + .build()} +write flush + +write zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .describe() + .config("cleanup.policy", "compact") + .build() + .build()} +write flush + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/fetch/partition.offset/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/fetch/partition.offset/client.rpt new file mode 100644 index 0000000000..fbd2c4327c --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/fetch/partition.offset/client.rpt @@ -0,0 +1,76 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} + +connected + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} + +read zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .meta() + .partition(0, 177) + .build() + .build()} + +write close + +read notify ROUTED_BROKER_CLIENT + +connect await ROUTED_BROKER_CLIENT + "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + option zilla:affinity 0xb1 + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .fetch() + .topic("test") + .partition(0, 1) + .build() + .build()} + +connected + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .fetch() + .topic("test") + .partition(0, 1, 1) + .build() + .build()} + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/fetch/partition.offset/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/fetch/partition.offset/server.rpt new file mode 100644 index 0000000000..fa8f9be935 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/fetch/partition.offset/server.rpt @@ -0,0 +1,75 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property serverAddress "zilla://streams/app0" + +accept ${serverAddress} + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +accepted + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} + +connected + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} +write flush + +write zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .meta() + .partition(0, 177) + .build() + .build()} +write flush + +read closed +write close + +accepted + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .fetch() + .topic("test") + .partition(0, 1) + .build() + .build()} + +connected + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .fetch() + .topic("test") + .partition(0, 1, 1) + .build() + .build()} +write flush + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/group/rebalance.sync.group/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/group/rebalance.sync.group/client.rpt new file mode 100644 index 0000000000..8634072bb3 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/group/rebalance.sync.group/client.rpt @@ -0,0 +1,74 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .group() + .groupId("test") + .protocol("highlander") + .timeout(45000) + .build() + .build()} + +connected + +read zilla:begin.ext ${kafka:matchBeginEx() + .typeId(zilla:id("kafka")) + .group() + .groupId("test") + .protocol("highlander") + .instanceId("zilla") + .host("broker1.example.com") + .port(9092) + .timeout(30000) + .build() + .build()} + +read advised zilla:flush ${kafka:flushEx() + .typeId(zilla:id("kafka")) + .group() + .generationId(0) + .leaderId("memberId-1") + .memberId("memberId-1") + .members("memberId-1") + .build() + .build()} + +write zilla:data.empty +write flush + +read advised zilla:flush ${kafka:flushEx() + .typeId(zilla:id("kafka")) + .group() + .generationId(1) + .leaderId("memberId-1") + .memberId("memberId-1") + .members("memberId-1") + .build() + .build()} + +write zilla:data.empty +write flush + +read zilla:data.empty + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/group/rebalance.sync.group/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/group/rebalance.sync.group/server.rpt new file mode 100644 index 0000000000..9ae98b16b5 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/group/rebalance.sync.group/server.rpt @@ -0,0 +1,77 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property serverAddress "zilla://streams/app0" + +accept ${serverAddress} + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +accepted + +read zilla:begin.ext ${kafka:matchBeginEx() + .typeId(zilla:id("kafka")) + .group() + .groupId("test") + .protocol("highlander") + .timeout(45000) + .build() + .build()} + +connected + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .group() + .groupId("test") + .protocol("highlander") + .instanceId("zilla") + .host("broker1.example.com") + .port(9092) + .timeout(30000) + .build() + .build()} +write flush + +write advise zilla:flush ${kafka:flushEx() + .typeId(zilla:id("kafka")) + .group() + .generationId(0) + .leaderId("memberId-1") + .memberId("memberId-1") + .members("memberId-1") + .build() + .build()} + +read zilla:data.empty + +write advise zilla:flush ${kafka:flushEx() + .typeId(zilla:id("kafka")) + .group() + .generationId(1) + .leaderId("memberId-1") + .memberId("memberId-1") + .members("memberId-1") + .build() + .build()} + +read zilla:data.empty + +write zilla:data.empty +write flush + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/init.producer.id/produce.new.id/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/init.producer.id/produce.new.id/client.rpt new file mode 100644 index 0000000000..663a860222 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/init.producer.id/produce.new.id/client.rpt @@ -0,0 +1,41 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .initProducerId() + .producerId(-1) + .producerEpoch(-1) + .build() + .build()} +connected + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .initProducerId() + .producerId(1) + .producerEpoch(2) + .build() + .build()} + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/init.producer.id/produce.new.id/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/init.producer.id/produce.new.id/server.rpt new file mode 100644 index 0000000000..712cbe02b0 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/init.producer.id/produce.new.id/server.rpt @@ -0,0 +1,47 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property serverAddress "zilla://streams/app0" + +accept ${serverAddress} + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +accepted + + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .initProducerId() + .producerId(-1) + .producerEpoch(-1) + .build() + .build()} + +connected + + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .initProducerId() + .producerId(1) + .producerEpoch(2) + .build() + .build()} +write flush + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/merged/merged.fetch.filter.sync/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/merged/merged.fetch.filter.sync/client.rpt new file mode 100644 index 0000000000..43a586be7e --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/merged/merged.fetch.filter.sync/client.rpt @@ -0,0 +1,54 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 16 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .merged() + .capabilities("FETCH_ONLY") + .topic("test") + .partition(0, 0) + .partition(1, 0) + .build() + .build()} + +connected + +read zilla:begin.ext ${kafka:matchBeginEx() + .typeId(zilla:id("kafka")) + .merged() + .capabilities("FETCH_ONLY") + .topic("test") + .partition(0, 0, 2) + .partition(1, 0, 2) + .build() + .build()} + +read advised zilla:flush ${kafka:matchFlushEx() + .typeId(zilla:id("kafka")) + .merged() + .fetch() + .progress(0, 2, 2, 2) + .progress(1, 2, 2, 2) + .build() + .build()} + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/merged/merged.fetch.filter.sync/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/merged/merged.fetch.filter.sync/server.rpt new file mode 100644 index 0000000000..ae0ccf1e31 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/merged/merged.fetch.filter.sync/server.rpt @@ -0,0 +1,59 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property deltaMillis 0L +property newTimestamp ${kafka:timestamp() + deltaMillis} + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +accepted + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .merged() + .capabilities("FETCH_ONLY") + .topic("test") + .partition(0, 0) + .partition(1, 0) + .build() + .build()} + +connected + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .merged() + .capabilities("FETCH_ONLY") + .topic("test") + .partition(0, 0, 2) + .partition(1, 0, 2) + .build() + .build()} +write flush + +write advise zilla:flush ${kafka:flushEx() + .typeId(zilla:id("kafka")) + .merged() + .fetch() + .progress(0, 2, 2, 2) + .progress(1, 2, 2, 2) + .build() + .build()} + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/meta/topic.partition.info/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/meta/topic.partition.info/client.rpt new file mode 100644 index 0000000000..425eb80416 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/meta/topic.partition.info/client.rpt @@ -0,0 +1,46 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} + +connected + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} + +read zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .meta() + .partition(0, 1) + .partition(1, 2) + .build() + .build()} + +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/meta/topic.partition.info/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/meta/topic.partition.info/server.rpt new file mode 100644 index 0000000000..d3d80c0cc0 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/meta/topic.partition.info/server.rpt @@ -0,0 +1,52 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property serverAddress "zilla://streams/app0" + +accept ${serverAddress} + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +accepted + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} + +connected + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} +write flush + +write zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .meta() + .partition(0, 1) + .partition(1, 2) + .build() + .build()} +write flush + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.commit/update.topic.partition.offset/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.commit/update.topic.partition.offset/client.rpt new file mode 100644 index 0000000000..7b39aef138 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.commit/update.topic.partition.offset/client.rpt @@ -0,0 +1,49 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .offsetCommit() + .groupId("client-1") + .memberId("memberId-1") + .instanceId("zilla") + .host("broker1.example.com") + .port(9092) + .build() + .build()} + +connected + +write zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .offsetCommit() + .topic("test") + .progress(0, 2, "test-meta") + .generationId(0) + .leaderEpoch(0) + .build() + .build()} + +write zilla:data.empty +write flush + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.commit/update.topic.partition.offset/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.commit/update.topic.partition.offset/server.rpt new file mode 100644 index 0000000000..4bb9981bdd --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.commit/update.topic.partition.offset/server.rpt @@ -0,0 +1,51 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property serverAddress "zilla://streams/app0" + +accept ${serverAddress} + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +accepted + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .offsetCommit() + .groupId("client-1") + .memberId("memberId-1") + .instanceId("zilla") + .host("broker1.example.com") + .port(9092) + .build() + .build()} + +connected + +read zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .offsetCommit() + .topic("test") + .progress(0, 2, "test-meta") + .generationId(0) + .leaderEpoch(0) + .build() + .build()} + +read zilla:data.empty + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.fetch/topic.offset.info/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.fetch/topic.offset.info/client.rpt new file mode 100644 index 0000000000..2d0bbcb3c3 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.fetch/topic.offset.info/client.rpt @@ -0,0 +1,44 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .offsetFetch() + .groupId("client-1") + .host("broker1.example.com") + .port(9092) + .topic("test") + .partition(0) + .build() + .build()} + +connected + +read zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .offsetFetch() + .partition(0, 2, 0, "test-meta") + .build() + .build()} +read zilla:data.empty + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.fetch/topic.offset.info/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.fetch/topic.offset.info/server.rpt new file mode 100644 index 0000000000..14a48a1935 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.fetch/topic.offset.info/server.rpt @@ -0,0 +1,49 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property serverAddress "zilla://streams/app0" + +accept ${serverAddress} + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +accepted + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .offsetFetch() + .groupId("client-1") + .host("broker1.example.com") + .port(9092) + .topic("test") + .partition(0) + .build() + .build()} + +connected + +write zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .offsetFetch() + .partition(0, 2, 0, "test-meta") + .build() + .build()} +write zilla:data.empty +write flush + +read closed +write close + diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/produce/message.producer.id/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/produce/message.producer.id/client.rpt new file mode 100644 index 0000000000..9d2c0cc37d --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/produce/message.producer.id/client.rpt @@ -0,0 +1,91 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property deltaMillis 0L +property newTimestamp ${kafka:timestamp() + deltaMillis} + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} + +connected + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} + +read zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .meta() + .partition(0, 177) + .build() + .build()} + +write close + +read notify ROUTED_BROKER_CLIENT + +connect await ROUTED_BROKER_CLIENT + "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + option zilla:affinity 0xb1 + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .produce() + .topic("test") + .partition(0) + .build() + .build()} + +connected + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .produce() + .topic("test") + .partition(0) + .build() + .build()} + +write zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .produce() + .timestamp(0) + .producerId(8) + .producerEpoch(1) + .sequence(0) + .build() + .build()} +write "Hello, world" +write flush + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/produce/message.producer.id/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/produce/message.producer.id/server.rpt new file mode 100644 index 0000000000..ebda6d59cc --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/produce/message.producer.id/server.rpt @@ -0,0 +1,84 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property serverAddress "zilla://streams/app0" + +accept ${serverAddress} + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +accepted + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} + +connected + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .meta() + .topic("test") + .build() + .build()} +write flush + +write zilla:data.ext ${kafka:dataEx() + .typeId(zilla:id("kafka")) + .meta() + .partition(0, 177) + .build() + .build()} +write flush + +read closed +write close + +accepted + +read zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .produce() + .topic("test") + .partition(0) + .build() + .build()} + +connected + +write zilla:begin.ext ${kafka:beginEx() + .typeId(zilla:id("kafka")) + .produce() + .topic("test") + .partition(0) + .build() + .build()} + +read zilla:data.ext ${kafka:matchDataEx() + .typeId(zilla:id("kafka")) + .produce() + .producerId(8) + .producerEpoch(1) + .sequence(0) + .build() + .build()} +read "Hello, world" + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/network/describe.configs.v0/topic.config.info/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/network/describe.configs.v0/topic.config.info/client.rpt new file mode 100644 index 0000000000..0f97683bc2 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/network/describe.configs.v0/topic.config.info/client.rpt @@ -0,0 +1,59 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property networkConnectWindow 8192 + +property newRequestId ${kafka:newRequestId()} +property fetchWaitMax 500 +property fetchBytesMax 65535 +property partitionBytesMax 8192 + +connect "zilla://streams/net0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window ${networkConnectWindow} + option zilla:transmission "duplex" + option zilla:byteorder "network" + +connected + +write 46 # size + 32s # describe configs + 0s # v0 + ${newRequestId} + 5s "zilla" # client id + 1 # resources + [0x02] # topic resource + 4s "test" # "test" topic + 1 # configs + 14s "cleanup.policy" # name + +read 55 # size + ${newRequestId} + [0..4] + 1 # resources + 0s # no error + -1s # error message + [0x02] # topic resource + 4s "test" # "test" topic + 1 # configs + 14s "cleanup.policy" # name + 7s "compact" # value + [0x00] # not read only + [0x00] # not default + [0x00] # not sensitive + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/network/describe.configs.v0/topic.config.info/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/network/describe.configs.v0/topic.config.info/server.rpt new file mode 100644 index 0000000000..88d8deb0bc --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/network/describe.configs.v0/topic.config.info/server.rpt @@ -0,0 +1,55 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property networkAcceptWindow 8192 + +accept "zilla://streams/net0" + option zilla:timestamps "false" + option zilla:window ${networkAcceptWindow} + option zilla:transmission "duplex" + option zilla:byteorder "network" + +accepted + +connected + +read 46 # size + 32s # describe configs + 0s # v0 + (int:requestId) + 5s "zilla" # client id + 1 # resources + [0x02] # topic resource + 4s "test" # "test" topic + 1 # configs + 14s "cleanup.policy" # name + +write 55 # size + ${requestId} + 0 + 1 # resources + 0s # no error + -1s # error message + [0x02] # topic resource + 4s "test" # "test" topic + 1 # configs + 14s "cleanup.policy" # name + 7s "compact" # value + [0x00] # not read only + [0x00] # not default + [0x00] # not sensitive + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/publish.one.message.properties/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/publish.one.message.properties/client.rpt new file mode 100644 index 0000000000..a87558619e --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/publish.one.message.properties/client.rpt @@ -0,0 +1,84 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${mqtt:beginEx() + .typeId(zilla:id("mqtt")) + .session() + .flags("CLEAN_START") + .clientId("client") + .build() + .build()} + +read zilla:begin.ext ${mqtt:matchBeginEx() + .typeId(zilla:id("mqtt")) + .session() + .flags("CLEAN_START") + .subscribeQosMax(2) + .publishQosMax(2) + .packetSizeMax(66560) + .capabilities("RETAIN", "WILDCARD", "SUBSCRIPTION_IDS", "SHARED_SUBSCRIPTIONS") + .clientId("client") + .build() + .build()} + +connected + +read zilla:data.empty + +write close +read closed + +read notify RECEIVED_SESSION_STATE + + +connect await RECEIVED_SESSION_STATE + "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${mqtt:beginEx() + .typeId(zilla:id("mqtt")) + .publish() + .clientId("client") + .topic("sensor/one") + .build() + .build()} + +connected + +write zilla:data.ext ${mqtt:dataEx() + .typeId(zilla:id("mqtt")) + .publish() + .qos("AT_MOST_ONCE") + .expiryInterval(15) + .contentType("message") + .format("TEXT") + .responseTopic("sensor/one") + .correlation("info") + .build() + .build()} + +write "message" + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/publish.one.message.properties/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/publish.one.message.properties/server.rpt new file mode 100644 index 0000000000..4f05fbf32b --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/publish.one.message.properties/server.rpt @@ -0,0 +1,78 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +accepted + +read zilla:begin.ext ${mqtt:matchBeginEx() + .typeId(zilla:id("mqtt")) + .session() + .flags("CLEAN_START") + .clientId("client") + .build() + .build()} + +write zilla:begin.ext ${mqtt:beginEx() + .typeId(zilla:id("mqtt")) + .session() + .flags("CLEAN_START") + .subscribeQosMax(2) + .publishQosMax(2) + .packetSizeMax(66560) + .capabilities("RETAIN", "WILDCARD", "SUBSCRIPTION_IDS", "SHARED_SUBSCRIPTIONS") + .clientId("client") + .build() + .build()} + +connected + +write zilla:data.empty +write flush + +read closed +write close + +accepted + +read zilla:begin.ext ${mqtt:matchBeginEx() + .typeId(zilla:id("mqtt")) + .publish() + .clientId("client") + .topic("sensor/one") + .build() + .build()} + +connected + +read zilla:data.ext ${mqtt:matchDataEx() + .typeId(zilla:id("mqtt")) + .publish() + .qos("AT_MOST_ONCE") + .expiryInterval(15) + .contentType("message") + .format("TEXT") + .responseTopic("sensor/one") + .correlation("info") + .build() + .build()} + +read "message" + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/subscribe.one.message/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/subscribe.one.message/client.rpt new file mode 100644 index 0000000000..1201b9e8c2 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/subscribe.one.message/client.rpt @@ -0,0 +1,96 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${mqtt:beginEx() + .typeId(zilla:id("mqtt")) + .session() + .flags("CLEAN_START") + .clientId("client") + .build() + .build()} + +read zilla:begin.ext ${mqtt:matchBeginEx() + .typeId(zilla:id("mqtt")) + .session() + .flags("CLEAN_START") + .subscribeQosMax(2) + .publishQosMax(2) + .packetSizeMax(66560) + .capabilities("RETAIN", "WILDCARD", "SUBSCRIPTION_IDS", "SHARED_SUBSCRIPTIONS") + .clientId("client") + .build() + .build()} + +connected + +read zilla:data.empty + +write zilla:data.ext ${mqtt:dataEx() + .typeId(zilla:id("mqtt")) + .session() + .kind("STATE") + .build() + .build()} + +write ${mqtt:session() + .subscription("sensor/one", 1, "AT_MOST_ONCE", "SEND_RETAINED") + .build()} +write flush + +read ${mqtt:session() + .subscription("sensor/one", 1, "AT_MOST_ONCE", "SEND_RETAINED") + .build()} + +write close +read closed + +read notify RECEIVED_SESSION_STATE + +connect await RECEIVED_SESSION_STATE + "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${mqtt:beginEx() + .typeId(zilla:id("mqtt")) + .subscribe() + .clientId("client") + .filter("sensor/one", 1, "AT_MOST_ONCE", "SEND_RETAINED") + .build() + .build()} + +connected + +read zilla:data.ext ${mqtt:matchDataEx() + .typeId(zilla:id("mqtt")) + .subscribe() + .topic("sensor/one") + .subscriptionId(1) + .format("TEXT") + .build() + .build()} +read "message" + + +write close +read closed \ No newline at end of file diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/subscribe.one.message/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/subscribe.one.message/server.rpt new file mode 100644 index 0000000000..76c4a1240f --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application/subscribe.one.message/server.rpt @@ -0,0 +1,93 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +accepted + +read zilla:begin.ext ${mqtt:matchBeginEx() + .typeId(zilla:id("mqtt")) + .session() + .flags("CLEAN_START") + .clientId("client") + .build() + .build()} + +write zilla:begin.ext ${mqtt:beginEx() + .typeId(zilla:id("mqtt")) + .session() + .flags("CLEAN_START") + .subscribeQosMax(2) + .publishQosMax(2) + .packetSizeMax(66560) + .capabilities("RETAIN", "WILDCARD", "SUBSCRIPTION_IDS", "SHARED_SUBSCRIPTIONS") + .clientId("client") + .build() + .build()} + +connected + +write zilla:data.empty +write flush + +read zilla:data.ext ${mqtt:dataEx() + .typeId(zilla:id("mqtt")) + .session() + .kind("STATE") + .build() + .build()} + +read ${mqtt:session() + .subscription("sensor/one", 1, "AT_MOST_ONCE", "SEND_RETAINED") + .build()} + +write ${mqtt:session() + .subscription("sensor/one", 1, "AT_MOST_ONCE", "SEND_RETAINED") + .build()} +write flush + + +read closed +write close + +accepted + +read zilla:begin.ext ${mqtt:matchBeginEx() + .typeId(zilla:id("mqtt")) + .subscribe() + .clientId("client") + .filter("sensor/one", 1, "AT_MOST_ONCE", "SEND_RETAINED") + .build() + .build()} + +connected + +write zilla:data.ext ${mqtt:dataEx() + .typeId(zilla:id("mqtt")) + .subscribe() + .topic("sensor/one") + .subscriptionId(1) + .format("TEXT") + .build() + .build()} + +write "message" +write flush + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/network/v5/publish.one.message.properties/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/network/v5/publish.one.message.properties/client.rpt new file mode 100644 index 0000000000..a39ed1d28e --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/network/v5/publish.one.message.properties/client.rpt @@ -0,0 +1,50 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/net0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + option zilla:byteorder "network" + +connected + +write [0x10 0x18] # CONNECT + [0x00 0x04] "MQTT" # protocol name + [0x05] # protocol version + [0x02] # flags = clean start + [0x00 0x3c] # keep alive = 60s + [0x05] # properties + [0x27] 66560 # maximum packet size = 66560 + [0x00 0x06] "client" # client id + +read [0x20 0x03] # CONNACK + [0x00] # flags = none + [0x00] # reason code + [0x00] # properties + +write [0x30 0x39] # PUBLISH + [0x00 0x0a] "sensor/one" # topic name + [0x25] # properties + [0x02] 0x0f # expiry = 15 seconds + [0x03 0x00 0x07] "message" # content type + [0x01 0x01] # format = utf-8 + [0x08 0x00 0x0a] "sensor/one" # response topic + [0x09 0x00 0x04] "info" # correlation data + "message" # payload + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/network/v5/publish.one.message.properties/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/network/v5/publish.one.message.properties/server.rpt new file mode 100644 index 0000000000..b1a3968608 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/network/v5/publish.one.message.properties/server.rpt @@ -0,0 +1,50 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/net0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + option zilla:byteorder "network" + +accepted +connected + +read [0x10 0x18] # CONNECT + [0x00 0x04] "MQTT" # protocol name + [0x05] # protocol version + [0x02] # flags = clean start + [0x00 0x3c] # keep alive = 60s + [0x05] # properties + [0x27] 66560 # maximum packet size = 66560 + [0x00 0x06] "client" # client id + +write [0x20 0x03] # CONNACK + [0x00] # flags = none + [0x00] # reason code + [0x00] # properties = none + +read [0x30 0x39] # PUBLISH + [0x00 0x0a] "sensor/one" # topic name + [0x25] # properties + [0x02] 0x0f # expiry = 15 seconds + [0x03 0x00 0x07] "message" # content type + [0x01 0x01] # format = utf-8 + [0x08 0x00 0x0a] "sensor/one" # response topic + [0x09 0x00 0x04] "info" # correlation data + "message" # payload + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/proxy/streams/application/connected.local.client.sent.begin.ext/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/proxy/streams/application/connected.local.client.sent.begin.ext/client.rpt new file mode 100644 index 0000000000..89b4ff2f4e --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/proxy/streams/application/connected.local.client.sent.begin.ext/client.rpt @@ -0,0 +1,36 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" + +write zilla:begin.ext ${proxy:beginEx() + .typeId(zilla:id("proxy")) + .addressInet4() + .protocol("stream") + .source("192.168.0.1") + .destination("192.168.0.254") + .sourcePort(32768) + .destinationPort(443) + .build() + .build()} + +connected + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/proxy/streams/application/connected.local.client.sent.begin.ext/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/proxy/streams/application/connected.local.client.sent.begin.ext/server.rpt new file mode 100644 index 0000000000..bb8fb960a3 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/proxy/streams/application/connected.local.client.sent.begin.ext/server.rpt @@ -0,0 +1,36 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "half-duplex" +accepted + +read zilla:begin.ext ${proxy:matchBeginEx() + .typeId(zilla:id("proxy")) + .addressInet4() + .protocol("stream") + .source("192.168.0.1") + .destination("192.168.0.254") + .sourcePort(32768) + .destinationPort(443) + .build() + .build()} + +connected + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/sse/streams/application/data/non.empty/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/sse/streams/application/data/non.empty/client.rpt new file mode 100644 index 0000000000..ad6f665713 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/sse/streams/application/data/non.empty/client.rpt @@ -0,0 +1,35 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${sse:beginEx() + .typeId(zilla:id("sse")) + .scheme("http") + .authority("localhost:8080") + .path("/events/a8b7c6d5") + .lastId(null) + .build()} + +connected + +read "Hello, world" + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/sse/streams/application/data/non.empty/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/sse/streams/application/data/non.empty/server.rpt new file mode 100644 index 0000000000..ca1a138d50 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/sse/streams/application/data/non.empty/server.rpt @@ -0,0 +1,42 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${sse:beginEx() + .typeId(zilla:id("sse")) + .scheme("http") + .authority("localhost:8080") + .path("/events/a8b7c6d5") + .lastId(null) + .build()} + +connected + +write zilla:data.ext ${sse:dataEx() + .typeId(zilla:id("sse")) + .timestamp(1519937168533) + .id(null) + .type(null) + .build()} +write "Hello, world" +write flush + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/application/connection.established/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/application/connection.established/client.rpt new file mode 100644 index 0000000000..5ea782fc2c --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/application/connection.established/client.rpt @@ -0,0 +1,37 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property authorization 0L + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:authorization ${authorization} + option zilla:window 65536 + option zilla:transmission "duplex" + +write zilla:begin.ext ${proxy:beginEx() + .typeId(zilla:id("proxy")) + .addressNone() + .build() + .info() + .authority("localhost") + .build() + .build()} + +connected + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/application/connection.established/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/application/connection.established/server.rpt new file mode 100644 index 0000000000..22c8ffdc9a --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/application/connection.established/server.rpt @@ -0,0 +1,35 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property authorization 0L + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:authorization ${authorization} + option zilla:window 65536 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${proxy:matchBeginEx() + .typeId(zilla:id("proxy")) + .info() + .authority("localhost") + .build() + .build()} + +connected + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/network/connection.established/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/network/connection.established/client.rpt new file mode 100644 index 0000000000..baeb1fe4be --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/network/connection.established/client.rpt @@ -0,0 +1,30 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property authorization 0L + +connect "tls://localhost:9090" + option tls:transport "zilla://streams/net0" + option tls:trustStoreFile ${core:file('src/test/democa/client/trust')} + option tls:trustStorePassword "generated" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:authorization ${authorization} + option zilla:window 65536 + option zilla:transmission "duplex" +connected + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/network/connection.established/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/network/connection.established/server.rpt new file mode 100644 index 0000000000..ef2b51cfd5 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/tls/streams/network/connection.established/server.rpt @@ -0,0 +1,30 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +property authorization 0L + +accept "tls://localhost:9090" + option tls:transport "zilla://streams/net0" + option tls:keyStoreFile ${core:file('src/test/democa/server/keys')} + option tls:keyStorePassword "generated" + option zilla:timestamps "false" + option zilla:authorization ${authorization} + option zilla:window 65536 + option zilla:transmission "duplex" +accepted +connected + +read closed +write close diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/ws/streams/application/advise/client.sent.challenge/client.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/ws/streams/application/advise/client.sent.challenge/client.rpt new file mode 100644 index 0000000000..59b5572383 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/ws/streams/application/advise/client.sent.challenge/client.rpt @@ -0,0 +1,35 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "zilla://streams/app0" + option zilla:ephemeral "test" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${ws:beginEx() + .typeId(zilla:id("ws")) + .protocol(null) + .scheme("http") + .authority("localhost:8080") + .path("/echo") + .build()} + +connected + +read advise zilla:challenge + +write close +read closed diff --git a/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/ws/streams/application/advise/client.sent.challenge/server.rpt b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/ws/streams/application/advise/client.sent.challenge/server.rpt new file mode 100644 index 0000000000..b988e625e7 --- /dev/null +++ b/incubator/command-dump/src/main/scripts/io/aklivity/zilla/runtime/command/dump/binding/ws/streams/application/advise/client.sent.challenge/server.rpt @@ -0,0 +1,35 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "zilla://streams/app0" + option zilla:timestamps "false" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${ws:beginEx() + .typeId(zilla:id("ws")) + .protocol(null) + .scheme("http") + .authority("localhost:8080") + .path("/echo") + .build()} + +connected + +write advised zilla:challenge + +read closed +write close diff --git a/incubator/command-dump/src/test/democa/client/trust b/incubator/command-dump/src/test/democa/client/trust new file mode 100644 index 0000000000000000000000000000000000000000..bb624ca8c88988584d4b0e87cd3a1a3af8104738 GIT binary patch literal 1178 zcmV;L1ZDd$f&`WV0Ru3C1WyJDDuzgg_YDCD0ic2eKm>vWJTQU;I52_)GzJMOhDe6@ z4FLxRpn?P?FoFaj0s#Opf&>}{2`Yw2hW8Bt2LUiC1_~;MNQUX zgIMAnnq*2-*ub9F1DOnX0s{cUP=JC1;G1k?NK!07S6Bey@ns7z`^bH(I>~$M;X~TY z6(};5n>n#|zp9Q{XDk__fHBqwIT(@Fp=M4{NEJMyfCyPhuFb71{3df&S15t%5L2!H z?N+4`tY6oyBUk>`*|sQak0tUb^8fVL}0a`E&5JXe0T)5#Pxfaa?v z*i=-Z2%=(u5L{=YYMyuY5HV~~82V^H=p*7l-Ijm+kU_0~5_GOxd@@4?cyq2F+^c<`pfmZvRjGh1((q_9Fre=EM^-Jx7FJ}JX74)wZqIcSJ z6RJ>KbqZvt(#eBIVUy{kQ{Y1$li|cxg4kL?+M!wErm7RWt`|f%?XELro@P&Hw3D<( z;fY1-fW9KS`@R(a6siTuZ{C=BHM_I9pjS`NRDpC&h z?j$`#dxwj#(mXRR^09zJ5UShoY+qV_+Ehyf^O@Q75QmH`h7?!slvvAqGHvLP2ppTJ z{p7kcx!Xvx0SWeuO}r~yx_vF?;FAfL*ZF6T6HlcB__#}|fffJSb`8|Lw?F(V@5iel z^h!2cT?eRnKZH1(-)=*_71d~Rf)(62bR$N4dmRoHu%T$eQNyV6Xf05qy&+qtGn(__I}gi_%lYOfcdnTUvNhk zO|USJcr*Mz;jka}Db+d$$qH`06=jQG`Cj-)@SAR5{f2?v;&Mg%fGHYiI!dKvu5qgz zNdl{7gnQU?zYb)=0K1Y~8qcMfT6^^0$xdk7Y4hV&J9a3E@99S2q|3Pwag^dA7k9x= z()}%sK{Po-fmFO^XWkQ9AFdAkr+?QN4V;3eeE^3U@#D*)$DfA{ zB@>$-eanXAChZbmfaKdl-Q=*?(XfJ|=rk{Lx*C= zDCocl*``*Ys+o%4F8~?KHc8H3wne$VnnaQr-LEF5kyQ9hMNGn3yFfQ!IoRJtuM=IC zgPGN>=Q``cs!QH?B^Xckp0=?qcFl+qR8lJR>e7lSY4O4-F*0aFBA>#~2eYi+RMRoT zU@+90QMD^sL|#L2^gyCfc+VRs>HH9c0O5XEYcM`AAutIB1uG5%0vZJX1Qcp~@iev} s%EsyJ(@eH)6}YwJoz?^tDsFeHFGU8z)D|l9S;NV|VAC9>0s{etpebc4%>V!Z literal 0 HcmV?d00001 diff --git a/incubator/command-dump/src/test/democa/server/keys b/incubator/command-dump/src/test/democa/server/keys new file mode 100644 index 0000000000000000000000000000000000000000..e10b65832b5594097fcedb74a5be13cbed78cfd0 GIT binary patch literal 3701 zcmY+EXE+-UyT+4hs6A`86gA7g ztx-Yr?K#&u?>X;>=enQkzMtp*_>;y#fK>fIe&_;a#`^TVa3fU_d45|>1j}56t(F}Cim$^>nwU-ogPWde3Q3TFi*~oOl-*L z@f4=-4b@w`rO=z}&icrsE<&~O+=FvMeN1r~GM~8IMAtu=f&UKh=!@j6L?2?T_jF@V z%AV6llRvH2V5!=q-NVNaJ4WjLQYqeKx=;G`PvWImqXYzIO=^k6#;;rgz7JFPohcqE zHGKL0^rjlld$Z3FLDTx=L}ART9R?zpy7l;Y5H3Sj6ln?V+JY|_9p{v=JLq&lzIVoZ z>qc{pI*X8H|2#NC4=cTHIN7re)XofWR91Wx|p9&^L;CJuTNr?JGQ)3+naJ z+~J)L^$>H(mjI6i@v$djbP!qCYWbWfW+4H(d(YYY$xf6tbpsN3PtdbJYAX_K-MG^v zs_YaVEkFHF6)HCh@A8CuMEke#W>HeP#dZkaqFP65_^5au%05c`WKWJIC^qk5A~L1@ z63rP`6VQvC#d8e`uvEBQ@TY0=PByeD9TI6N_Y#Pq9gt*k*&z=YGOLZt0yZfJZ ztnUa|g`uD=m@EZ`ClJ11Wig^}!r@HLxD7U1>_EIdao@uOXOfA2`g+3Y>C)}9n#94+ z{1g-w)ODMRo&jHyt8^!D0qkt>shx! zXv%U6DLdP>XX$1^yedao0MD}M&vUZR(moBXx!e5WzT>_JqjH)V~$hpPxRE{LlXOeH^QCgK&;=x}AxXR&bAxLLz*0TXAR)7L2 zV!x5wfh!Zk$MM3jtt-}jpYW?^p>nn3d&^O0fTQm?;?Rt4baR0K)Pz>WnoT1F3WCdC zMmgvUa^(m8=&C9J9Dvh|!0X95YSn8Wr4O?3a%#^#`GOOrRs zjbW{!uBd4CU6rUP&3!v^{6T2{vF{=ow?cZ(>TB+hlKQEQ`4RDi^{l<_NWM6 z%l;(|PBx#wAU8JP(T!BvR@hWQm;u?tr#k-9J67;b|P36l&I%wXXY;K?m>Qx1th$jZnoAa5e1aTLY> z?ja{D!%;l>YbAq#fWLzKzXbRnoF)4&&JuKKPBvq_KBVpUOSrh8J9fT+BmbMTk8l)v z+B|`ow!Ua>>iYM0iJBvi7_0i>Mb}0^%SFBNJgVKC)h?eY{9U_QwS=?RESTtbNdq%x zGY(B^9=g;yypiOvr4Cl(47YmCr@@ny<_8nc9|%un1m1D0KYBBd2(0h1yTRqVs@o#K zY0oeiK8o9GV!9TUzLkxI0h?}>u>~$(azSGC*##pMT`=Q?T(8UmORg_h3I0?DE$38M z0e=cqXi>wkCP<#p{Iiwno|E(M4y5E4DQB=$`SpcO8NAVK&AZ!cAHsrmnV)Uw26@)< ziZ$KcH%s2F;NIOyJQWV-P1_KhR&P#Iv61}cnBJ`Ps91-tq-um?J-_FT?Et|2vriKl z$3)!ffVPiffZ?b2K#7LC`ztl9adD^ANaI`0ut%hephe~fANuea7~xgzT~~?YU~8Il z?AGN5?dvxA8IV;tov^{8>~&7_lta7jx2ubJE2n(d`Md4E zau*UW+?ZsXU^`3)V}>1AiEXFFR~p!!Lp3<@B8>`_vso+1+-z5RZ7{2^tM+Fgl`b$H z0IJKNi&agnUmL8MZ-;1^%97EM5F}uEbqY|qKC&Yv@vB$@-cfZ5N)Q0L1E3%cwI#|$BsXY+zG_569yz=Ik9=l<}CF;?M0c4C+I*#(5Cmu zdbu>lo`^Q{Ps6p0a$;Fgsw-wu!%N`~bypQ#K>ioI%6VFkOn+5Qp3!DC^EKmj*@K)J z0u3ihfKnV!KE;i~QmGlum)hmB`%*dj?5hNjTdKHp(g6f7$F{#0luRwoon(e!tK;u8 z9t92s5z2fj{y1%tzEE8bMnQ@QPBqfv9>;FlOtYEpy0mAVU9{VA0aE$>PGpncKOb)D zHm$dp#}V6$naUwI+VeUhxCWowMV>&AyTr!n!`V7qvcoS08} z0a_ckCB#aaHN+++VH5$uUM@kGxEA7_()OnG9W{!_DfFHL^Ic`iD!FF0QoF$4pLx4% zMk_{sL`Wg$9dFisKM{j1w7K`BW2p4yV}$ z3A{a;*hM_)Gs(=)wT(Y9UhchFTF{6>d?6t<^*u7oJj$2hEci42VWK-te9$!1YpTW~N5hO-Y?}>jw(;d(w zqByp#S{fU11Ix13ip7vUBC+T(t19KU$o=O%M%-{2DZlbYIsUPqxYXk*`{IQ8l&kZH zQe_q>@i+k~iv@~isrpNGyB?9#y|;J}_l(uZwW~hUqKh6gvEYNs!Z!BTSZ)j?#A~kQ@cfMi7byP@@0bnt<|*F z-rsM!KJ^`xRq`^u7VhC?8}S|&thxe@I|b0(I7`dQBy*TcHKlp^{0&B{f!!IV3Mve=&q zBS7@^T;HEUf9S3??2OP)r23d?@-SAi|4boCtYVy}i2Egl_GzmOs^EIvJ6bO_Ok26$ z3#wY({DSNcN#@dOnd7-nXnH)BR7fcc=b%^%u0oPTA1J zK*Dp2`%LMBvtdI@8||X*?%jQW$qLd>{EheQL~wV6ZFzg@?DiVk|0zZ#=shiKT;1-M zjN7HET2}yESF4}GB`@f{2TbTWLt;nBUY7&a>h}2uo#PW%h1I&$6n7Z999AJ7ze)>xXkS^F3|K|zAhsyNJqKTs`T3YUWoTj;-bJ?)#fhg9Zz6(Zz-Ey6{% zdpT@kB&~Cr6||kc76SMr#`|)e&b6&pm6}MBTjb8R4k6!pRgcjbEXv#Gm=rB}{it8} z9XI9*i}j9&FdKi2BR^g4dAao}dB9@(M%(Oep&o;VR4p literal 0 HcmV?d00001 diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/AmqpLinkNetworkIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/AmqpLinkNetworkIT.java new file mode 100644 index 0000000000..532c87be16 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/AmqpLinkNetworkIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class AmqpLinkNetworkIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("net", "io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/network/link"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "net0", "amqp", "server") + .bindings("test.net0", "test.amqp", "test.server", "test.0", "test.amqp"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${net}/attach.as.receiver.only/client", + "${net}/attach.as.receiver.only/server"}) + public void shouldExchangeAttachAsReceiver() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/AmqpStreamApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/AmqpStreamApplicationIT.java new file mode 100644 index 0000000000..82ebda73e8 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/AmqpStreamApplicationIT.java @@ -0,0 +1,53 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class AmqpStreamApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/amqp/streams/application"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "amqp", "server") + .bindings("test.app0", "test.amqp", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/connect.as.receiver.only/client", + "${app}/connect.as.receiver.only/server" + }) + public void shouldConnectAsReceiverOnly() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/FileSystemApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/FileSystemApplicationIT.java new file mode 100644 index 0000000000..2f9fba05cb --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/FileSystemApplicationIT.java @@ -0,0 +1,53 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class FileSystemApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/filesystem/streams/application"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "filesystem", "server") + .bindings("test.app0", "test.filesystem", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/read.file.extension/client", + "${app}/read.file.extension/server", + }) + public void shouldReadFileExtensionOnly() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/GrpcServerStreamRpcApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/GrpcServerStreamRpcApplicationIT.java new file mode 100644 index 0000000000..e43237ad36 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/GrpcServerStreamRpcApplicationIT.java @@ -0,0 +1,53 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class GrpcServerStreamRpcApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/grpc/streams/application/server.stream.rpc"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "grpc", "server") + .bindings("test.app0", "test.grpc", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/message.exchange/client", + "${app}/message.exchange/server", + }) + public void shouldEstablishServerStreamRpc() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationApplicationIT.java new file mode 100644 index 0000000000..af8ea39f9b --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationApplicationIT.java @@ -0,0 +1,53 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class Http2AuthorizationApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/http/streams/application/rfc7540/authorization"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "http", "server") + .bindings("test.app0", "test.http", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/challenge.credentials.header/client", + "${app}/challenge.credentials.header/server", + }) + public void shouldChallengeCredentialsHeader() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationNetworkIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationNetworkIT.java new file mode 100644 index 0000000000..af9d8b3fb4 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationNetworkIT.java @@ -0,0 +1,53 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class Http2AuthorizationNetworkIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("net", "io/aklivity/zilla/runtime/command/dump/binding/http/streams/network/rfc7540/authorization"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "net0", "proxy", "http", "server") + .bindings("test.net0", "test.http", "test.server", "test.0", "test.http"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${net}/challenge.credentials.header/client", + "${net}/challenge.credentials.header/server", + }) + public void shouldChallengeCredentialsHeader() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeApplicationIT.java new file mode 100644 index 0000000000..7d368e082c --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class KafkaDescribeApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/describe"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "kafka", "server") + .bindings("test.app0", "test.kafka", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/topic.config.info/client", + "${app}/topic.config.info/server"}) + public void shouldReceiveTopicConfigInfo() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeConfigsNetworkIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeConfigsNetworkIT.java new file mode 100644 index 0000000000..02a56dda71 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeConfigsNetworkIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class KafkaDescribeConfigsNetworkIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("net", "io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/network/describe.configs.v0"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "net0", "kafka", "server") + .bindings("test.net0", "test.kafka", "test.server", "test.0", "test.kafka"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${net}/topic.config.info/client", + "${net}/topic.config.info/server"}) + public void shouldReceiveTopicConfigInfo() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaFetchApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaFetchApplicationIT.java new file mode 100644 index 0000000000..1a6320c645 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaFetchApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class KafkaFetchApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/fetch"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "kafka", "server") + .bindings("test.app0", "test.kafka", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/partition.offset/client", + "${app}/partition.offset/server"}) + public void shouldRequestPartitionOffset() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaGroupApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaGroupApplicationIT.java new file mode 100644 index 0000000000..390cb35616 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaGroupApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class KafkaGroupApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/group"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "kafka", "server") + .bindings("test.app0", "test.kafka", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/rebalance.sync.group/client", + "${app}/rebalance.sync.group/server"}) + public void shouldHandleRebalanceSyncGroup() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaInitProducerIdApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaInitProducerIdApplicationIT.java new file mode 100644 index 0000000000..34bfa3cfc3 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaInitProducerIdApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class KafkaInitProducerIdApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/init.producer.id"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "kafka", "server") + .bindings("test.app0", "test.kafka", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/produce.new.id/client", + "${app}/produce.new.id/server"}) + public void shouldGenerateNewProducerId() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaMergedApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaMergedApplicationIT.java new file mode 100644 index 0000000000..8ba4b53d5b --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaMergedApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class KafkaMergedApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/merged"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "kafka", "server") + .bindings("test.app0", "test.kafka", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/merged.fetch.filter.sync/client", + "${app}/merged.fetch.filter.sync/server"}) + public void shouldFetchMergedFilterSync() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaMetaApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaMetaApplicationIT.java new file mode 100644 index 0000000000..ac0453200d --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaMetaApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class KafkaMetaApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/meta"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "kafka", "server") + .bindings("test.app0", "test.kafka", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/topic.partition.info/client", + "${app}/topic.partition.info/server"}) + public void shouldReceiveTopicPartitionInfo() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetCommitApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetCommitApplicationIT.java new file mode 100644 index 0000000000..3f7ad2f928 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetCommitApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class KafkaOffsetCommitApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.commit"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "kafka", "server") + .bindings("test.app0", "test.kafka", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/update.topic.partition.offset/client", + "${app}/update.topic.partition.offset/server"}) + public void shouldUpdateTopicPartitionOffset() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetFetchApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetFetchApplicationIT.java new file mode 100644 index 0000000000..2d510ed522 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetFetchApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class KafkaOffsetFetchApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/offset.fetch"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "kafka", "server") + .bindings("test.app0", "test.kafka", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/topic.offset.info/client", + "${app}/topic.offset.info/server"}) + public void shouldFetchTopicOffsetInfo() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaProduceApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaProduceApplicationIT.java new file mode 100644 index 0000000000..27b65ccea9 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/KafkaProduceApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class KafkaProduceApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/kafka/streams/application/produce"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "kafka", "server") + .bindings("test.app0", "test.kafka", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/message.producer.id/client", + "${app}/message.producer.id/server"}) + public void shouldSendMessageValueWithProducerId() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishApplicationIT.java new file mode 100644 index 0000000000..42dce7b92d --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class MqttPublishApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "mqtt", "server") + .bindings("test.app0", "test.mqtt", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/publish.one.message.properties/client", + "${app}/publish.one.message.properties/server"}) + public void shouldSendOneMessage() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishNetworkIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishNetworkIT.java new file mode 100644 index 0000000000..6b6885aa53 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishNetworkIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class MqttPublishNetworkIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("net", "io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/network/v5"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "net0", "mqtt", "server") + .bindings("test.net0", "test.mqtt", "test.server", "test.0", "test.mqtt"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${net}/publish.one.message.properties/client", + "${net}/publish.one.message.properties/server"}) + public void shouldSendOneMessage() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttSubscribeApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttSubscribeApplicationIT.java new file mode 100644 index 0000000000..baeced6908 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/MqttSubscribeApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class MqttSubscribeApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/mqtt/streams/application"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "mqtt", "server") + .bindings("test.app0", "test.mqtt", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/subscribe.one.message/client", + "${app}/subscribe.one.message/server"}) + public void shouldReceiveOneMessage() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/ProxyApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/ProxyApplicationIT.java new file mode 100644 index 0000000000..84bfe12f51 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/ProxyApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class ProxyApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/proxy/streams/application"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "proxy", "server") + .bindings("test.app0", "test.proxy", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/connected.local.client.sent.begin.ext/client", + "${app}/connected.local.client.sent.begin.ext/server"}) + public void shouldConnectLocalClientSendsBeginExt() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/SseDataApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/SseDataApplicationIT.java new file mode 100644 index 0000000000..ee638426ae --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/SseDataApplicationIT.java @@ -0,0 +1,53 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class SseDataApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/sse/streams/application/data"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "sse", "server") + .bindings("test.app0", "test.sse", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/non.empty/client", + "${app}/non.empty/server" }) + public void shouldReceiveNonEmptyData() throws Exception + { + k3po.finish(); + } + +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/TlsApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/TlsApplicationIT.java new file mode 100644 index 0000000000..ab54aae486 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/TlsApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class TlsApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/tls/streams/application"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "proxy", "tls", "server") + .bindings("test.app0", "test.tls", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/connection.established/client", + "${app}/connection.established/server"}) + public void shouldEstablishConnection() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/TlsNetworkIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/TlsNetworkIT.java new file mode 100644 index 0000000000..714f1e51b5 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/TlsNetworkIT.java @@ -0,0 +1,54 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Ignore; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class TlsNetworkIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("net", "io/aklivity/zilla/runtime/command/dump/binding/tls/streams/network"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "net0", "tls", "server") + .bindings("test.net0", "test.tls", "test.server", "test.0", "test.tls"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Ignore + @Test + @Specification({ + "${net}/connection.established/client", + "${net}/connection.established/server"}) + public void shouldEstablishConnection() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/WsAdvisoryApplicationIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/WsAdvisoryApplicationIT.java new file mode 100644 index 0000000000..b5e77248c9 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/WsAdvisoryApplicationIT.java @@ -0,0 +1,52 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.command.dump.internal.test.DumpRule; + +public class WsAdvisoryApplicationIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/runtime/command/dump/binding/ws/streams/application/advise"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + private final DumpRule dump = new DumpRule() + .labels("test", "app0", "ws", "server") + .bindings("test.app0", "test.ws", "test.server", "test.0", "test.0"); + + @Rule + public final TestRule chain = outerRule(dump).around(k3po).around(timeout); + + @Test + @Specification({ + "${app}/client.sent.challenge/client", + "${app}/client.sent.challenge/server" }) + public void shouldReceiveClientSentChallenge() throws Exception + { + k3po.finish(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommandTest.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommandTest.java deleted file mode 100644 index faa4f8abf9..0000000000 --- a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/airline/ZillaDumpCommandTest.java +++ /dev/null @@ -1,2949 +0,0 @@ -/* - * Copyright 2021-2023 Aklivity Inc - * - * Licensed under the Aklivity Community License (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://www.aklivity.io/aklivity-community-license/ - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. - */ -package io.aklivity.zilla.runtime.command.dump.internal.airline; - -import static java.util.Collections.singletonList; -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.equalTo; -import static org.junit.jupiter.api.TestInstance.Lifecycle.PER_CLASS; - -import java.io.ByteArrayOutputStream; -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.nio.charset.StandardCharsets; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.util.List; - -import org.agrona.BitUtil; -import org.agrona.DirectBuffer; -import org.agrona.MutableDirectBuffer; -import org.agrona.concurrent.UnsafeBuffer; -import org.agrona.concurrent.ringbuffer.RingBuffer; -import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.TestInstance; -import org.junit.jupiter.api.io.TempDir; -import org.testcontainers.shaded.org.apache.commons.io.HexDump; - -import io.aklivity.zilla.runtime.command.dump.internal.types.String8FW; -import io.aklivity.zilla.runtime.command.dump.internal.types.stream.AbortFW; -import io.aklivity.zilla.runtime.command.dump.internal.types.stream.ChallengeFW; -import io.aklivity.zilla.runtime.command.dump.internal.types.stream.DataFW; -import io.aklivity.zilla.runtime.command.dump.internal.types.stream.EndFW; -import io.aklivity.zilla.runtime.command.dump.internal.types.stream.FlushFW; -import io.aklivity.zilla.runtime.command.dump.internal.types.stream.ResetFW; -import io.aklivity.zilla.runtime.command.dump.internal.types.stream.SignalFW; -import io.aklivity.zilla.runtime.engine.internal.layouts.StreamsLayout; -import io.aklivity.zilla.specs.binding.amqp.internal.AmqpFunctions; -import io.aklivity.zilla.specs.binding.filesystem.internal.FileSystemFunctions; -import io.aklivity.zilla.specs.binding.grpc.internal.GrpcFunctions; -import io.aklivity.zilla.specs.binding.http.internal.HttpFunctions; -import io.aklivity.zilla.specs.binding.kafka.internal.KafkaFunctions; -import io.aklivity.zilla.specs.binding.mqtt.internal.MqttFunctions; -import io.aklivity.zilla.specs.binding.proxy.internal.ProxyFunctions; -import io.aklivity.zilla.specs.binding.sse.internal.SseFunctions; -import io.aklivity.zilla.specs.binding.ws.internal.WsFunctions; -import io.aklivity.zilla.specs.engine.internal.types.stream.BeginFW; -import io.aklivity.zilla.specs.engine.internal.types.stream.WindowFW; - -@TestInstance(PER_CLASS) -public class ZillaDumpCommandTest -{ - private static final int WORKERS = 3; - private static final int STREAMS_CAPACITY = 32 * 1024; - private static final Path ENGINE_PATH = - Path.of("src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine"); - private static final int FILESYSTEM_TYPE_ID = 1; - private static final int GRPC_TYPE_ID = 2; - private static final int HTTP_TYPE_ID = 3; - private static final int KAFKA_TYPE_ID = 4; - private static final int PROXY_TYPE_ID = 5; - private static final int MQTT_TYPE_ID = 6; - private static final int SSE_TYPE_ID = 7; - private static final int WS_TYPE_ID = 8; - private static final int AMQP_TYPE_ID = 36; - - private final BeginFW.Builder beginRW = new BeginFW.Builder(); - private final DataFW.Builder dataRW = new DataFW.Builder(); - private final EndFW.Builder endRW = new EndFW.Builder(); - private final AbortFW.Builder abortRW = new AbortFW.Builder(); - private final FlushFW.Builder flushRW = new FlushFW.Builder(); - private final ResetFW.Builder resetRW = new ResetFW.Builder(); - private final WindowFW.Builder windowRW = new WindowFW.Builder(); - private final SignalFW.Builder signalRW = new SignalFW.Builder(); - private final ChallengeFW.Builder challengeRW = new ChallengeFW.Builder(); - - @TempDir - private File tempDir; - - private ZillaDumpCommand command; - - @BeforeAll - @SuppressWarnings("checkstyle:methodlength") - public void generateStreamsBuffer() throws Exception - { - RingBuffer[] streams = new RingBuffer[WORKERS]; - for (int i = 0; i < WORKERS; i++) - { - StreamsLayout streamsLayout = new StreamsLayout.Builder() - .path(ENGINE_PATH.resolve(String.format("data%d", i))) - .streamsCapacity(STREAMS_CAPACITY) - .readonly(false) - .build(); - streams[i] = streamsLayout.streamsBuffer(); - } - MutableDirectBuffer frameBuffer = new UnsafeBuffer(new byte[STREAMS_CAPACITY]); - - // worker 0 - SignalFW signal1 = signalRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0) - .routedId(0) - .streamId(0) - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000001L) - .traceId(0x0000000000000001L) - .cancelId(0x0000000000007701L) - .signalId(0x00007702) - .contextId(0x00007703) - .build(); - streams[0].write(SignalFW.TYPE_ID, signal1.buffer(), 0, signal1.sizeof()); - - DirectBuffer helloBuf = new String8FW("Hello World!").value(); - SignalFW signal2 = signalRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0) - .routedId(0) - .streamId(0) - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000002L) - .traceId(0x0000000000000000L) - .cancelId(0x0000000000007801L) - .signalId(0x00007802) - .contextId(0x00007803) - .payload(helloBuf, 0, helloBuf.capacity()) - .build(); - streams[0].write(SignalFW.TYPE_ID, signal2.buffer(), 0, signal2.sizeof()); - - BeginFW begin1 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000005L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000003L) - .traceId(0x0000000000000003L) - .affinity(0x0000000000000005L) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin1.buffer(), 0, begin1.sizeof()); - - WindowFW window1 = windowRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000005L) // INI - .sequence(0) - .acknowledge(0) - .maximum(65536) - .timestamp(0x0000000000000004L) - .traceId(0x0000000000000003L) - .budgetId(0) - .padding(0) - .build(); - streams[0].write(WindowFW.TYPE_ID, window1.buffer(), 0, window1.sizeof()); - - BeginFW begin2 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000004L) // REP - .sequence(1) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000005L) - .traceId(0x0000000000000003L) - .affinity(0) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin2.buffer(), 0, begin2.sizeof()); - - WindowFW window2 = windowRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000004L) // REP - .sequence(0) - .acknowledge(0) - .maximum(65536) - .timestamp(0x0000000000000006L) - .traceId(0x0000000000000003L) - .budgetId(0) - .padding(0) - .build(); - streams[0].write(WindowFW.TYPE_ID, window2.buffer(), 0, window2.sizeof()); - - BeginFW filteredBegin = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000dL) // north_http_server - .routedId(0x000000090000000eL) // north_http_kafka_mapping - .streamId(0x0000000000000077L) // INI - .sequence(71) - .acknowledge(72) - .maximum(73) - .timestamp(0x0000000000000007L) - .traceId(0x0000000000004202L) - .authorization(0x0000000000004203L) - .affinity(0x0000000000004204L) - .build(); - streams[0].write(BeginFW.TYPE_ID, filteredBegin.buffer(), 0, filteredBegin.sizeof()); - - String http1request = - "POST / HTTP/1.1\n" + - "Host: localhost:8080\n" + - "User-Agent: curl/7.85.0\n" + - "Accept: */*\n" + - "Content-Type: text/plain\n" + - "Content-Length: 12\n" + - "\n" + - "Hello, world"; - DirectBuffer http1requestBuf = new String8FW(http1request).value(); - DataFW data1 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000005L) // INI - .sequence(123) - .acknowledge(456) - .maximum(777) - .timestamp(0x0000000000000008L) - .traceId(0x0000000000000003L) - .budgetId(0x0000000000004205L) - .reserved(0x00004206) - .payload(http1requestBuf, 0, http1requestBuf.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data1.buffer(), 0, data1.sizeof()); - - String http1response = - "HTTP/1.1 200 OK\n" + - "Content-Type: text/plain\n" + - "Content-Length: 13\n" + - "\n" + - "Hello, World!"; - DirectBuffer http1responseBuf = new String8FW(http1response).value(); - DataFW data2 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000004L) // REP - .sequence(123) - .acknowledge(456) - .maximum(777) - .timestamp(0x0000000000000009L) - .traceId(0x0000000000000003L) - .budgetId(0x0000000000004205L) - .reserved(0x00004206) - .payload(http1responseBuf, 0, http1responseBuf.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data2.buffer(), 0, data2.sizeof()); - - ChallengeFW challenge1 = challengeRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000004L) // REP - .sequence(201) - .acknowledge(202) - .maximum(22222) - .timestamp(0x000000000000000aL) - .traceId(0x0000000000000003L) - .authorization(0x0000000000007742L) - .build(); - streams[0].write(ChallengeFW.TYPE_ID, challenge1.buffer(), 0, challenge1.sizeof()); - - // data frame with h2 request payload: POST https://localhost:7142/ - byte[] h2request = BitUtil.fromHex( - "00002c0104000000018387418aa0e41d139d09b8e85a67847a8825b650c3cb85717f53032a2f2a5f87497ca58ae819aa0f0d023132"); - DirectBuffer h2requestBuf = new UnsafeBuffer(h2request); - DataFW data3 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000005L) // INI - .sequence(123) - .acknowledge(456) - .maximum(777) - .timestamp(0x000000000000000bL) - .traceId(0x0000000000000003L) - .budgetId(0x0000000000004405L) - .reserved(0x00004206) - .payload(h2requestBuf, 0, h2requestBuf.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data3.buffer(), 0, data3.sizeof()); - - // data frame with h2 response payload: 200 OK - byte[] h2response = BitUtil.fromHex( - "000026010400000001880f2b0a6375726c2f382e312e320f04032a2f2a0f100a746578742f706c61696e0f0d023132"); - DirectBuffer h2responseBuf = new UnsafeBuffer(h2response); - DataFW data4 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000004L) // REP - .sequence(123) - .acknowledge(456) - .maximum(777) - .timestamp(0x000000000000000cL) - .traceId(0x0000000000000003L) - .budgetId(0x0000000000004405L) - .reserved(0x00004206) - .payload(h2responseBuf, 0, h2responseBuf.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data4.buffer(), 0, data4.sizeof()); - - DirectBuffer hello2Buf = new String8FW("Hello World!").value(); - DataFW data5 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000004L) // REP - .sequence(123) - .acknowledge(456) - .maximum(777) - .timestamp(0x000000000000000dL) - .traceId(0x0000000000000003L) - .budgetId(0x0000000000004405L) - .reserved(0x00004206) - .payload(hello2Buf, 0, hello2Buf.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data5.buffer(), 0, data5.sizeof()); - - FlushFW flush1 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000004L) // REP - .sequence(301) - .acknowledge(302) - .maximum(3344) - .timestamp(0x000000000000000eL) - .traceId(0x0000000000000003L) - .budgetId(0x0000000000003300L) - .reserved(0x00003303) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush1.buffer(), 0, flush1.sizeof()); - - AbortFW abort1 = abortRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000005L) // INI - .sequence(401) - .acknowledge(402) - .maximum(4477) - .timestamp(0x000000000000000fL) - .traceId(0x0000000000000003L) - .build(); - streams[0].write(AbortFW.TYPE_ID, abort1.buffer(), 0, abort1.sizeof()); - - ResetFW reset1 = resetRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000006L) // REP - .sequence(501) - .acknowledge(502) - .maximum(5577) - .timestamp(0x0000000000000010L) - .traceId(0x0000000000000003L) - .build(); - streams[0].write(ResetFW.TYPE_ID, reset1.buffer(), 0, reset1.sizeof()); - - EndFW end1 = endRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000005L) // INI - .sequence(701) - .acknowledge(702) - .maximum(7777) - .timestamp(0x0000000000000011L) - .traceId(0x0000000000000003L) - .build(); - streams[0].write(EndFW.TYPE_ID, end1.buffer(), 0, end1.sizeof()); - - EndFW end2 = endRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000004L) // REP - .sequence(703) - .acknowledge(704) - .maximum(4444) - .timestamp(0x0000000000000012L) - .traceId(0x0000000000000003L) - .build(); - streams[0].write(EndFW.TYPE_ID, end2.buffer(), 0, end2.sizeof()); - - // proxy extension - DirectBuffer proxyBeginEx1 = new UnsafeBuffer(ProxyFunctions.beginEx() - .typeId(PROXY_TYPE_ID) - .addressInet() - .protocol("stream") - .source("192.168.0.77") - .destination("192.168.0.42") - .sourcePort(12345) - .destinationPort(442) - .build() - .build()); - BeginFW begin3 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000011L) // south_kafka_client - .routedId(0x0000000900000012L) // south_tcp_client - .streamId(0x0000000000000009L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x00000000000000013L) - .traceId(0x0000000000000009L) - .affinity(0x0000000000000000L) - .extension(proxyBeginEx1, 0, proxyBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin3.buffer(), 0, begin3.sizeof()); - - DirectBuffer proxyBeginEx2 = new UnsafeBuffer(ProxyFunctions.beginEx() - .typeId(PROXY_TYPE_ID) - .addressInet4() - .protocol("stream") - .source("192.168.0.1") - .destination("192.168.0.254") - .sourcePort(32768) - .destinationPort(443) - .build() - .info() - .alpn("alpn") - .authority("authority") - .identity(BitUtil.fromHex("12345678")) - .namespace("namespace") - .secure() - .version("TLSv1.3") - .name("name") - .cipher("cipher") - .signature("signature") - .key("key") - .build() - .build() - .build()); - BeginFW begin4 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000011L) // south_kafka_client - .routedId(0x0000000900000012L) // south_tcp_client - .streamId(0x0000000000000009L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x00000000000000014L) - .traceId(0x0000000000000009L) - .affinity(0x0000000000000000L) - .extension(proxyBeginEx2, 0, proxyBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin4.buffer(), 0, begin4.sizeof()); - - DirectBuffer proxyBeginEx3 = new UnsafeBuffer(ProxyFunctions.beginEx() - .typeId(PROXY_TYPE_ID) - .addressInet6() - .protocol("stream") - .source("fd12:3456:789a:1::1") - .destination("fd12:3456:789a:1::fe") - .sourcePort(32768) - .destinationPort(443) - .build() - .build()); - BeginFW begin5 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000011L) // south_kafka_client - .routedId(0x0000000900000012L) // south_tcp_client - .streamId(0x0000000000000009L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x00000000000000015L) - .traceId(0x0000000000000009L) - .affinity(0x0000000000000000L) - .extension(proxyBeginEx3, 0, proxyBeginEx3.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin5.buffer(), 0, begin5.sizeof()); - - DirectBuffer proxyBeginEx4 = new UnsafeBuffer(ProxyFunctions.beginEx() - .typeId(PROXY_TYPE_ID) - .addressUnix() - .protocol("datagram") - .source("unix-source") - .destination("unix-destination") - .build() - .build()); - BeginFW begin6 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000011L) // south_kafka_client - .routedId(0x0000000900000012L) // south_tcp_client - .streamId(0x0000000000000009L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x00000000000000016L) - .traceId(0x0000000000000009L) - .affinity(0x0000000000000000L) - .extension(proxyBeginEx4, 0, proxyBeginEx4.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin6.buffer(), 0, begin6.sizeof()); - - DirectBuffer proxyBeginEx5 = new UnsafeBuffer(ProxyFunctions.beginEx() - .typeId(PROXY_TYPE_ID) - .addressNone() - .build() - .build()); - BeginFW begin7 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000011L) // south_kafka_client - .routedId(0x0000000900000012L) // south_tcp_client - .streamId(0x0000000000000009L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x00000000000000017L) - .traceId(0x0000000000000009L) - .affinity(0x0000000000000000L) - .extension(proxyBeginEx5, 0, proxyBeginEx5.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin7.buffer(), 0, begin7.sizeof()); - - // http extension - DirectBuffer httpBeginEx1 = new UnsafeBuffer(HttpFunctions.beginEx() - .typeId(HTTP_TYPE_ID) - .header(":scheme", "http") - .header(":method", "GET") - .header(":path", "/hello") - .build()); - BeginFW begin8 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000011L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000018L) - .traceId(0x0000000000000011L) - .affinity(0x0000000000000000L) - .extension(httpBeginEx1, 0, httpBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin8.buffer(), 0, begin8.sizeof()); - - DirectBuffer httpChallengeEx1 = new UnsafeBuffer(HttpFunctions.challengeEx() - .typeId(HTTP_TYPE_ID) - .header(":scheme", "http") - .header(":method", "GET") - .header(":path", "/hello") - .build()); - ChallengeFW challenge2 = challengeRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000011L) // INI - .sequence(201) - .acknowledge(202) - .maximum(22222) - .timestamp(0x0000000000000019L) - .traceId(0x0000000000000011L) - .authorization(0x0000000000007742L) - .extension(httpChallengeEx1, 0, httpChallengeEx1.capacity()) - .build(); - streams[0].write(ChallengeFW.TYPE_ID, challenge2.buffer(), 0, challenge2.sizeof()); - - DirectBuffer httpFlushEx1 = new UnsafeBuffer(HttpFunctions.flushEx() - .typeId(HTTP_TYPE_ID) - .promiseId(0x0000000000000042L) - .promise(":scheme", "http") - .promise(":method", "GET") - .promise(":path", "/hello") - .build()); - FlushFW flush2 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000010L) // REP - .sequence(301) - .acknowledge(302) - .maximum(3344) - .timestamp(0x000000000000001aL) - .traceId(0x0000000000000011L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(httpFlushEx1, 0, httpFlushEx1.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush2.buffer(), 0, flush2.sizeof()); - - DirectBuffer httpResetEx1 = new UnsafeBuffer(HttpFunctions.resetEx() - .typeId(HTTP_TYPE_ID) - .header(":scheme", "http") - .header(":method", "GET") - .header(":path", "/hello") - .build()); - ResetFW reset2 = resetRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000010L) // REP - .sequence(501) - .acknowledge(502) - .maximum(5577) - .timestamp(0x000000000000001bL) - .traceId(0x0000000000000011L) - .extension(httpResetEx1, 0, httpResetEx1.capacity()) - .build(); - streams[0].write(ResetFW.TYPE_ID, reset2.buffer(), 0, reset2.sizeof()); - - DirectBuffer httpEndEx1 = new UnsafeBuffer(HttpFunctions.endEx() - .typeId(HTTP_TYPE_ID) - .trailer(":scheme", "http") - .trailer(":method", "GET") - .trailer(":path", "/hello") - .build()); - EndFW end3 = endRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0000000000000011L) // INI - .sequence(742) - .acknowledge(427) - .maximum(60000) - .timestamp(0x000000000000001cL) - .traceId(0x0000000000000011L) - .extension(httpEndEx1, 0, httpEndEx1.capacity()) - .build(); - streams[0].write(EndFW.TYPE_ID, end3.buffer(), 0, end3.sizeof()); - - // worker 1 - SignalFW signal3 = signalRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0) - .routedId(0) - .streamId(0) - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000001L) - .traceId(0x0100000000000001L) - .cancelId(0x0000000000008801L) - .signalId(0x00008802) - .contextId(0x00008803) - .build(); - streams[1].write(SignalFW.TYPE_ID, signal3.buffer(), 0, signal3.sizeof()); - - BeginFW begin9 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0101000000000005L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000002L) - .traceId(0x0100000000000003L) - .affinity(0x0101000000000005L) - .build(); - streams[1].write(BeginFW.TYPE_ID, begin9.buffer(), 0, begin9.sizeof()); - - EndFW end4 = endRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0101000000000004L) // REP - .sequence(703) - .acknowledge(704) - .maximum(4444) - .timestamp(0x0000000000000003L) - .traceId(0x0100000000000003L) - .build(); - streams[1].write(EndFW.TYPE_ID, end4.buffer(), 0, end4.sizeof()); - - // worker 2 - SignalFW signal4 = signalRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0) - .routedId(0) - .streamId(0) - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000001L) - .traceId(0x0200000000000001L) - .cancelId(0x0000000000008801L) - .signalId(0x00009902) - .contextId(0x00009903) - .build(); - streams[2].write(SignalFW.TYPE_ID, signal4.buffer(), 0, signal4.sizeof()); - - BeginFW begin10 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0202000000000005L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000002L) - .traceId(0x0200000000000003L) - .affinity(0x0202000000000005L) - .build(); - streams[2].write(BeginFW.TYPE_ID, begin10.buffer(), 0, begin10.sizeof()); - - EndFW end5 = endRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000dL) // north_http_server - .streamId(0x0202000000000004L) // REP - .sequence(703) - .acknowledge(704) - .maximum(4444) - .timestamp(0x0000000000000003L) - .traceId(0x0200000000000003L) - .build(); - streams[2].write(EndFW.TYPE_ID, end5.buffer(), 0, end5.sizeof()); - - // worker 0 - // grpc extension - DirectBuffer grpcBeginEx1 = new UnsafeBuffer(GrpcFunctions.beginEx() - .typeId(GRPC_TYPE_ID) - .scheme("http") - .authority("localhost:7153") - .service("example.EchoService") - .method("EchoUnary") - .metadata("grpc-accept-encoding", "gzip") - .metadata("metadata-2", "hello") - .metadata("BASE64", "metadata-3", "4242") - .build()); - BeginFW begin11 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001aL) // north_grpc_server - .routedId(0x000000090000001bL) // north_grpc_kafka_mapping - .streamId(0x0000000000000013L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000001dL) - .traceId(0x0000000000000013L) - .affinity(0x0000000000000000L) - .extension(grpcBeginEx1, 0, grpcBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin11.buffer(), 0, begin11.sizeof()); - - DirectBuffer grpcBeginEx2 = new UnsafeBuffer(GrpcFunctions.beginEx() - .typeId(GRPC_TYPE_ID) - .scheme("http") - .authority("localhost:7153") - .service("example.EchoService") - .method("EchoUnary") - .metadata("long field", "Z".repeat(200)) - .metadata("metadata-2", "hello") - .build()); - BeginFW begin12 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001aL) // north_grpc_server - .routedId(0x000000090000001bL) // north_grpc_kafka_mapping - .streamId(0x0000000000000012L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000001eL) - .traceId(0x0000000000000013L) - .affinity(0x0000000000000000L) - .extension(grpcBeginEx2, 0, grpcBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin12.buffer(), 0, begin12.sizeof()); - - // data frame with extension, without payload, payload length is -1 - DirectBuffer grpcDataEx1 = new UnsafeBuffer(new byte[]{ - GRPC_TYPE_ID, 0, 0, 0, // int32 typeId - 42, 0, 0, 0 // int32 deferred - }); - DataFW data6 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001aL) // north_grpc_server - .routedId(0x000000090000001bL) // north_grpc_kafka_mapping - .streamId(0x0000000000000013L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000001fL) - .traceId(0x0000000000000013L) - .budgetId(0x0000000000000013L) - .reserved(0x00000042) - .extension(grpcDataEx1, 0, grpcDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data6.buffer(), 0, data6.sizeof()); - - // data frame with extension, without payload, payload length is 0 - DirectBuffer grpcDataPayload1 = new UnsafeBuffer(); - DirectBuffer grpcDataEx2 = new UnsafeBuffer(new byte[]{ - GRPC_TYPE_ID, 0, 0, 0, // int32 typeId - 77, 0, 0, 0 // int32 deferred - }); - DataFW data7 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001aL) // north_grpc_server - .routedId(0x000000090000001bL) // north_grpc_kafka_mapping - .streamId(0x0000000000000012L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000020L) - .traceId(0x0000000000000013L) - .budgetId(0x0000000000000013L) - .reserved(0x00000042) - .payload(grpcDataPayload1, 0, grpcDataPayload1.capacity()) - .extension(grpcDataEx2, 0, grpcDataEx2.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data7.buffer(), 0, data7.sizeof()); - - // data frame with extension, with payload - DirectBuffer grpcDataPayload2 = new UnsafeBuffer("Hello World!".getBytes(StandardCharsets.UTF_8)); - DirectBuffer grpcDataEx3 = new UnsafeBuffer(new byte[]{ - GRPC_TYPE_ID, 0, 0, 0, // int32 typeId - 88, 0, 0, 0 // int32 deferred - }); - DataFW data8 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001aL) // north_grpc_server - .routedId(0x000000090000001bL) // north_grpc_kafka_mapping - .streamId(0x0000000000000013L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000021L) - .traceId(0x0000000000000013L) - .budgetId(0x0000000000000013L) - .reserved(0x00000042) - .payload(grpcDataPayload2, 0, grpcDataPayload2.capacity()) - .extension(grpcDataEx3, 0, grpcDataEx3.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data8.buffer(), 0, data8.sizeof()); - - DirectBuffer grpcAbortEx1 = new UnsafeBuffer(GrpcFunctions.abortEx() - .typeId(GRPC_TYPE_ID) - .status("aborted") - .build()); - AbortFW abort2 = abortRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001aL) // north_grpc_server - .routedId(0x000000090000001bL) // north_grpc_kafka_mapping - .streamId(0x0000000000000013L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000022L) - .traceId(0x0000000000000013L) - .extension(grpcAbortEx1, 0, grpcAbortEx1.capacity()) - .build(); - streams[0].write(AbortFW.TYPE_ID, abort2.buffer(), 0, abort2.sizeof()); - - DirectBuffer grpcResetEx1 = new UnsafeBuffer(GrpcFunctions.abortEx() - .typeId(GRPC_TYPE_ID) - .status("reset") - .build()); - ResetFW reset3 = resetRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001aL) // north_grpc_server - .routedId(0x000000090000001bL) // north_grpc_kafka_mapping - .streamId(0x0000000000000012L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000023L) - .traceId(0x0000000000000013L) - .extension(grpcResetEx1, 0, grpcResetEx1.capacity()) - .build(); - streams[0].write(ResetFW.TYPE_ID, reset3.buffer(), 0, reset3.sizeof()); - - // sse extension - DirectBuffer sseBeginEx1 = new UnsafeBuffer(SseFunctions.beginEx() - .typeId(SSE_TYPE_ID) - .scheme("http") - .authority("localhost:7153") - .path("/hello") - .lastId(null) // length will be -1 - .build()); - BeginFW begin13 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001cL) // north_sse_server - .routedId(0x000000090000001dL) // south_sse_client - .streamId(0x0000000000000015L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000024L) - .traceId(0x0000000000000015L) - .affinity(0x0000000000000000L) - .extension(sseBeginEx1, 0, sseBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin13.buffer(), 0, begin13.sizeof()); - - DirectBuffer sseBeginEx2 = new UnsafeBuffer(SseFunctions.beginEx() - .typeId(SSE_TYPE_ID) - .scheme("http") - .authority("localhost:7153") - .path("/hello") - .lastId("lastId") - .build()); - BeginFW begin14 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001cL) // north_sse_server - .routedId(0x000000090000001dL) // south_sse_client - .streamId(0x0000000000000014L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000025L) - .traceId(0x0000000000000015L) - .affinity(0x0000000000000000L) - .extension(sseBeginEx2, 0, sseBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin14.buffer(), 0, begin14.sizeof()); - - DirectBuffer sseDataEx1 = new UnsafeBuffer(SseFunctions.dataEx() - .typeId(SSE_TYPE_ID) - .timestamp(0x0000000000000026L) - .id("id") - .type("type") - .build()); - DataFW data9 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001cL) // north_sse_server - .routedId(0x000000090000001dL) // south_sse_client - .streamId(0x0000000000000015L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000026L) - .traceId(0x0000000000000015L) - .budgetId(0x0000000000000015L) - .reserved(0x00000042) - .extension(sseDataEx1, 0, sseDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data9.buffer(), 0, data9.sizeof()); - - DirectBuffer ssePayload1 = new UnsafeBuffer("Hello SSE!".getBytes(StandardCharsets.UTF_8)); - DirectBuffer sseDataEx2 = new UnsafeBuffer(SseFunctions.dataEx() - .typeId(SSE_TYPE_ID) - .timestamp(0x0000000000000027L) - .id(null) // length will be -1 - .type("fortytwo") - .build()); - DataFW data10 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001cL) // north_sse_server - .routedId(0x000000090000001dL) // south_sse_client - .streamId(0x0000000000000014L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000027L) - .traceId(0x0000000000000015L) - .budgetId(0x0000000000000015L) - .reserved(0x00000042) - .payload(ssePayload1, 0, ssePayload1.capacity()) - .extension(sseDataEx2, 0, sseDataEx2.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data10.buffer(), 0, data10.sizeof()); - - DirectBuffer sseEndEx1 = new UnsafeBuffer(SseFunctions.endEx() - .typeId(SSE_TYPE_ID) - .id("sse-end-id") - .build()); - EndFW end6 = endRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001cL) // north_sse_server - .routedId(0x000000090000001dL) // south_sse_client - .streamId(0x0000000000000014L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000028L) - .traceId(0x0000000000000015L) - .extension(sseEndEx1, 0, sseEndEx1.capacity()) - .build(); - streams[0].write(EndFW.TYPE_ID, end6.buffer(), 0, end6.sizeof()); - - // ws extension - DirectBuffer wsBeginEx1 = new UnsafeBuffer(WsFunctions.beginEx() - .typeId(WS_TYPE_ID) - .protocol("echo") - .scheme("http") - .authority("localhost:7114") - .path("/hello") - .build()); - BeginFW begin15 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001eL) // north_ws_server - .routedId(0x000000090000001fL) // north_echo_server - .streamId(0x0000000000000017L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000029L) - .traceId(0x0000000000000017L) - .affinity(0x0000000000000000L) - .extension(wsBeginEx1, 0, wsBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin15.buffer(), 0, begin15.sizeof()); - - DirectBuffer wsBeginEx2 = new UnsafeBuffer(WsFunctions.beginEx() - .typeId(WS_TYPE_ID) - .protocol("echo") - .scheme("http") - .authority("localhost:7114") - .path("/hello") - .build()); - BeginFW begin16 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001eL) // north_ws_server - .routedId(0x000000090000001fL) // north_echo_server - .streamId(0x0000000000000016L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000002aL) - .traceId(0x0000000000000017L) - .affinity(0x0000000000000000L) - .extension(wsBeginEx2, 0, wsBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin16.buffer(), 0, begin16.sizeof()); - - DirectBuffer wsDataEx1 = new UnsafeBuffer(new byte[]{ - WS_TYPE_ID, 0, 0, 0, // int32 typeId - 0x42, // uint8 flags - }); - DataFW data11 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001eL) // north_ws_server - .routedId(0x000000090000001fL) // north_echo_server - .streamId(0x0000000000000017L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000002bL) - .traceId(0x0000000000000017L) - .budgetId(0x0000000000000017L) - .reserved(0x00000042) - .extension(wsDataEx1, 0, wsDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data11.buffer(), 0, data11.sizeof()); - - DirectBuffer wsPayload1 = new UnsafeBuffer("Hello Websocket!".getBytes(StandardCharsets.UTF_8)); - DirectBuffer wsDataEx2 = new UnsafeBuffer(new byte[]{ - WS_TYPE_ID, 0, 0, 0, // int32 typeId - 0x33, // uint8 flags - 0x42, 0x77, 0x44, 0x33, 0x21, 0x07 // octets info - }); - DataFW data12 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001eL) // north_ws_server - .routedId(0x000000090000001fL) // north_echo_server - .streamId(0x0000000000000016L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000002cL) - .traceId(0x0000000000000017L) - .budgetId(0x0000000000000017L) - .reserved(0x00000042) - .payload(wsPayload1, 0, wsPayload1.capacity()) - .extension(wsDataEx2, 0, wsDataEx2.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data12.buffer(), 0, data12.sizeof()); - - DirectBuffer wsEndEx1 = new UnsafeBuffer(new byte[]{ - WS_TYPE_ID, 0, 0, 0, // int32 typeId - 42, 0, // int16 code - 5, 'h', 'e', 'l', 'l', 'o' // string8 reason - }); - EndFW end7 = endRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000001eL) // north_ws_server - .routedId(0x000000090000001fL) // north_echo_server - .streamId(0x0000000000000017L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000002dL) - .traceId(0x0000000000000017L) - .extension(wsEndEx1, 0, wsEndEx1.capacity()) - .build(); - streams[0].write(EndFW.TYPE_ID, end7.buffer(), 0, end7.sizeof()); - - // filesystem extension - DirectBuffer fileSystemBeginEx1 = new UnsafeBuffer(FileSystemFunctions.beginEx() - .typeId(FILESYSTEM_TYPE_ID) - .capabilities("READ_PAYLOAD", "READ_EXTENSION", "READ_CHANGES") - .path("/hello") - .type("type") - .payloadSize(42_000_000_000L) - .tag("tag") - .timeout(77) - .build()); - BeginFW begin17 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000020L) // east_http_filesystem_mapping - .routedId(0x0000000900000021L) // east_filesystem_server - .streamId(0x0000000000000019L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000002eL) - .traceId(0x0000000000000019L) - .affinity(0x0000000000000000L) - .extension(fileSystemBeginEx1, 0, fileSystemBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin17.buffer(), 0, begin17.sizeof()); - - DirectBuffer fileSystemBeginEx2 = new UnsafeBuffer(FileSystemFunctions.beginEx() - .typeId(FILESYSTEM_TYPE_ID) - .capabilities("READ_EXTENSION") - .path("/hello") - .type("type") - .payloadSize(0) - .tag("tag") - .timeout(0) - .build()); - BeginFW begin18 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000020L) // east_http_filesystem_mapping - .routedId(0x0000000900000021L) // east_filesystem_server - .streamId(0x0000000000000018L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000002fL) - .traceId(0x0000000000000019L) - .affinity(0x0000000000000000L) - .extension(fileSystemBeginEx2, 0, fileSystemBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin18.buffer(), 0, begin18.sizeof()); - - // data frame with tls payload: TLSv1.3 Server Hello - DirectBuffer tlsPayload1 = new UnsafeBuffer(BitUtil.fromHex( - "160303007a020000760303328f126a2dc67b1d107023f088ca43560c8b1535c9d7e1be8b217b60b8cefa32209d830c3919be" + - "a4f53b3ace6b5f6837c9914c982f1421d3e162606c3eb5907c16130200002e002b0002030400330024001d00201c00c791d3" + - "e7b6b5dc3f191be9e29a7e220e8ea695696b281e7f92e27a05f27e")); - DataFW data13 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x000000090000000cL) // north_tls_server - .streamId(0x000000000000001bL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000030L) - .traceId(0x000000000000001aL) - .budgetId(0x000000000000001aL) - .reserved(0x00000042) - .payload(tlsPayload1, 0, tlsPayload1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data13.buffer(), 0, data13.sizeof()); - - // data frame with mqtt payload: mqtt Connect Command - DirectBuffer mqttPayload1 = new UnsafeBuffer(BitUtil.fromHex("101000044d5154540502003c032100140000")); - DataFW data14 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x0000000900000022L) // north_mqtt_server - .streamId(0x000000000000001bL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000031L) - .traceId(0x000000000000001bL) - .budgetId(0x000000000000001bL) - .reserved(0x00000077) - .payload(mqttPayload1, 0, mqttPayload1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data14.buffer(), 0, data14.sizeof()); - - // data frame with kafka payload: Kafka (Fetch v5 Request) - DirectBuffer kafkaPayload1 = new UnsafeBuffer(BitUtil.fromHex( - "00000051000100050000000100057a696c6c61ffffffff0000000000000001032000000000000001000f6974656d732d7265" + - "73706f6e73657300000001000000000000000000000000ffffffffffffffff03200000")); - DataFW data15 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000011L) // south_kafka_client - .routedId(0x0000000900000012L) // south_tcp_client - .streamId(0x000000000000001bL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000032L) - .traceId(0x000000000000001bL) - .budgetId(0x000000000000001bL) - .reserved(0x00000088) - .payload(kafkaPayload1, 0, kafkaPayload1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data15.buffer(), 0, data15.sizeof()); - - // data frame with kafka payload: Kafka (Fetch v5 Response) - DirectBuffer kafkaPayload2 = new UnsafeBuffer(BitUtil.fromHex( - "00000047000000010000000000000001000f6974656d732d726573706f6e7365730000000100000000000000000000000000" + - "0000000000000000000000000000000000ffffffff00000000")); - DataFW data16 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000011L) // south_kafka_client - .routedId(0x0000000900000012L) // south_tcp_client - .streamId(0x000000000000001aL) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000033L) - .traceId(0x000000000000001bL) - .budgetId(0x000000000000001bL) - .reserved(0x00000088) - .payload(kafkaPayload2, 0, kafkaPayload2.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data16.buffer(), 0, data16.sizeof()); - - // data frame with amqp payload: Protocol-Header 1-0-0 - DirectBuffer amqpPayload1 = new UnsafeBuffer(BitUtil.fromHex("414d515000010000")); - DataFW data17 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000bL) // north_tcp_server - .routedId(0x0000000900000025L) // north_amqp_server - .streamId(0x000000000000001bL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000034L) - .traceId(0x000000000000001bL) - .budgetId(0x000000000000001bL) - .reserved(0x00000077) - .payload(amqpPayload1, 0, amqpPayload1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data17.buffer(), 0, data17.sizeof()); - - // mqtt extension - // - publish - DirectBuffer mqttPublishBeginEx1 = new UnsafeBuffer(MqttFunctions.beginEx() - .typeId(MQTT_TYPE_ID) - .publish() - .clientId("client-id") - .topic("topic") - .qos(1) - .build() - .build()); - BeginFW begin19 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000021L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000035L) - .traceId(0x0000000000000021L) - .affinity(0x0000000000000000L) - .extension(mqttPublishBeginEx1, 0, mqttPublishBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin19.buffer(), 0, begin19.sizeof()); - - DirectBuffer mqttPublishBeginEx2 = new UnsafeBuffer(MqttFunctions.beginEx() - .typeId(MQTT_TYPE_ID) - .publish() - .clientId("client-id") - .topic("topic") - .flags("RETAIN") - .qos(2) - .build() - .build()); - BeginFW begin20 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000020L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000036L) - .traceId(0x0000000000000021L) - .affinity(0x0000000000000000L) - .extension(mqttPublishBeginEx2, 0, mqttPublishBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin20.buffer(), 0, begin20.sizeof()); - - DirectBuffer mqttPublishDataPayload = new String8FW("Hello, mqtt-pub!").value(); - DirectBuffer mqttPublishDataEx1 = new UnsafeBuffer(MqttFunctions.dataEx() - .typeId(MQTT_TYPE_ID) - .publish() - .qos("AT_LEAST_ONCE") - .expiryInterval(42) - .contentType("Content Type") - .format("TEXT") - .responseTopic("Response Topic") - .correlation("Correlation") - .userProperty("key1", "value1") - .userProperty("key42", "value42") - .userProperty("key77", "value77") - .build() - .build()); - DataFW data18 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000021L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000037L) - .traceId(0x0000000000000021L) - .budgetId(0x0000000000000021L) - .reserved(0x00000000) - .payload(mqttPublishDataPayload, 0, mqttPublishDataPayload.capacity()) - .extension(mqttPublishDataEx1, 0, mqttPublishDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data18.buffer(), 0, data18.sizeof()); - - DirectBuffer mqttPublishDataEx2 = new UnsafeBuffer(MqttFunctions.dataEx() - .typeId(MQTT_TYPE_ID) - .publish() - .qos("EXACTLY_ONCE") - .flags("RETAIN") - .packetId(0x42) - .expiryInterval(77) - .contentType("Content Type") - .format("BINARY") - .responseTopic("Response Topic") - .correlation("Correlation") - .userProperty("key1", "value1") - .build() - .build()); - DataFW data19 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000020L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000038L) - .traceId(0x0000000000000021L) - .budgetId(0x0000000000000021L) - .reserved(0x00000000) - .payload(mqttPublishDataPayload, 0, mqttPublishDataPayload.capacity()) - .extension(mqttPublishDataEx2, 0, mqttPublishDataEx2.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data19.buffer(), 0, data19.sizeof()); - - // - subscribe - DirectBuffer mqttSubscribeBeginEx1 = new UnsafeBuffer(MqttFunctions.beginEx() - .typeId(MQTT_TYPE_ID) - .subscribe() - .clientId("client-id") - .qos("AT_LEAST_ONCE") - .filter("pattern-1") - .filter("pattern-2", 0x42, "AT_MOST_ONCE", "SEND_RETAINED", "RETAIN_AS_PUBLISHED") - .filter("pattern-3", 0x77, "AT_LEAST_ONCE", "NO_LOCAL", "RETAIN") - .filter("pattern-4") - .build() - .build()); - BeginFW begin21 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000023L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000039L) - .traceId(0x0000000000000023L) - .affinity(0x0000000000000000L) - .extension(mqttSubscribeBeginEx1, 0, mqttSubscribeBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin21.buffer(), 0, begin21.sizeof()); - - DirectBuffer mqttSubscribeBeginEx2 = new UnsafeBuffer(MqttFunctions.beginEx() - .typeId(MQTT_TYPE_ID) - .subscribe() - .clientId("client-id") - .qos("EXACTLY_ONCE") - .filter("pattern-1") - .filter("pattern-2", 0x21, "EXACTLY_ONCE") - .filter("pattern-3", 0x71, "AT_LEAST_ONCE", "SEND_RETAINED", "RETAIN_AS_PUBLISHED", - "NO_LOCAL", "RETAIN") - .filter("pattern-4", 0x81) - .build() - .build()); - BeginFW begin22 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000022L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000003aL) - .traceId(0x0000000000000023L) - .affinity(0x0000000000000000L) - .extension(mqttSubscribeBeginEx2, 0, mqttSubscribeBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin22.buffer(), 0, begin22.sizeof()); - - DirectBuffer mqttSubscribeDataPayload = new String8FW("Hello, mqtt-sub!").value(); - DirectBuffer mqttSubscribeDataEx1 = new UnsafeBuffer(MqttFunctions.dataEx() - .typeId(MQTT_TYPE_ID) - .subscribe() - .topic("topic") - .packetId(0x21) - .qos("AT_LEAST_ONCE") - // flags omitted, should be 0 - .subscriptionId(13) - .subscriptionId(42_000) - .subscriptionId(42_000_024) - .subscriptionId(Integer.MAX_VALUE) // ff:ff:ff:ff:07 decoded as 2147483647 - .subscriptionId(0) - .expiryInterval(42) - .contentType("Content Type") - // format omitted, should be NONE - .responseTopic("Response Topic") - .correlation("Correlation") - .userProperty("key1", "value1") - .userProperty("key42", "value42") - .build() - .build()); - DataFW data20 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000023L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000003bL) - .traceId(0x0000000000000023L) - .budgetId(0x0000000000000023L) - .reserved(0x00000000) - .payload(mqttSubscribeDataPayload, 0, mqttSubscribeDataPayload.capacity()) - .extension(mqttSubscribeDataEx1, 0, mqttSubscribeDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data20.buffer(), 0, data20.sizeof()); - - DirectBuffer mqttSubscribeDataEx2 = new UnsafeBuffer(MqttFunctions.dataEx() - .typeId(MQTT_TYPE_ID) - .subscribe() - .topic("topic") - .packetId(0x42) - .qos("EXACTLY_ONCE") - .flags("RETAIN") - .subscriptionId(777_777_777) - .expiryInterval(21) - .contentType("Content Type") - .format("BINARY") - .responseTopic("Response Topic") - .correlation("Correlation") - .userProperty("key1", "value1") - .userProperty("key42", "value42") - .build() - .build()); - DataFW data21 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000022L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000003cL) - .traceId(0x0000000000000023L) - .budgetId(0x0000000000000023L) - .reserved(0x00000000) - .payload(mqttSubscribeDataPayload, 0, mqttSubscribeDataPayload.capacity()) - .extension(mqttSubscribeDataEx2, 0, mqttSubscribeDataEx2.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data21.buffer(), 0, data21.sizeof()); - - DirectBuffer mqttSubscribeFlushEx1 = new UnsafeBuffer(MqttFunctions.flushEx() - .typeId(MQTT_TYPE_ID) - .subscribe() - .qos("EXACTLY_ONCE") - .packetId(0x4221) - .state("INCOMPLETE") - .filter("filter-1", 0x42) - .build() - .build()); - FlushFW flush3 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000023L) // INI - .sequence(401) - .acknowledge(402) - .maximum(7777) - .timestamp(0x000000000000003dL) - .traceId(0x0000000000000023L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(mqttSubscribeFlushEx1, 0, mqttSubscribeFlushEx1.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush3.buffer(), 0, flush3.sizeof()); - - DirectBuffer mqttSubscribeFlushEx2 = new UnsafeBuffer(MqttFunctions.flushEx() - .typeId(MQTT_TYPE_ID) - .subscribe() - .qos("AT_MOST_ONCE") - .packetId(0x2117) - .state("COMPLETE") - .filter("pattern-77", 0x77, "AT_LEAST_ONCE", "SEND_RETAINED", "RETAIN_AS_PUBLISHED", - "NO_LOCAL", "RETAIN") - .build() - .build()); - FlushFW flush4 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000023L) // INI - .sequence(401) - .acknowledge(402) - .maximum(7777) - .timestamp(0x000000000000003eL) - .traceId(0x0000000000000023L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(mqttSubscribeFlushEx2, 0, mqttSubscribeFlushEx2.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush4.buffer(), 0, flush4.sizeof()); - - DirectBuffer mqttResetEx1 = new UnsafeBuffer(MqttFunctions.resetEx() - .typeId(MQTT_TYPE_ID) - .serverRef("Server Reference") - .reasonCode(42) - .reason("Reason") - .build()); - ResetFW reset4 = resetRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000023L) // INI - .sequence(501) - .acknowledge(502) - .maximum(8888) - .timestamp(0x000000000000003fL) - .traceId(0x0000000000000023L) - .extension(mqttResetEx1, 0, mqttResetEx1.capacity()) - .build(); - streams[0].write(ResetFW.TYPE_ID, reset4.buffer(), 0, reset4.sizeof()); - - // - session - DirectBuffer mqttSessionBeginEx1 = new UnsafeBuffer(MqttFunctions.beginEx() - .typeId(MQTT_TYPE_ID) - .session() - .flags("CLEAN_START") - .expiry(42) - .subscribeQosMax(2) - .publishQosMax(1) - .packetSizeMax(42_000) - .capabilities("RETAIN") - .clientId("client-id") - .build() - .build()); - BeginFW begin23 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000025L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000040L) - .traceId(0x0000000000000025L) - .affinity(0x0000000000000000L) - .extension(mqttSessionBeginEx1, 0, mqttSessionBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin23.buffer(), 0, begin23.sizeof()); - - DirectBuffer mqttSessionBeginEx2 = new UnsafeBuffer(MqttFunctions.beginEx() - .typeId(MQTT_TYPE_ID) - .session() - .flags("CLEAN_START", "WILL") - .expiry(42) - .subscribeQosMax(1) - .publishQosMax(2) - .packetSizeMax(42_000) - .capabilities("RETAIN", "WILDCARD", "SUBSCRIPTION_IDS", "SHARED_SUBSCRIPTIONS") - .clientId("client-id") - .build() - .build()); - BeginFW begin24 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000024L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000041L) - .traceId(0x0000000000000025L) - .affinity(0x0000000000000000L) - .extension(mqttSessionBeginEx2, 0, mqttSessionBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin24.buffer(), 0, begin24.sizeof()); - - DirectBuffer mqttSessionDataPayload = new String8FW("Hello, mqtt session!").value(); - DirectBuffer mqttSessionDataEx1 = new UnsafeBuffer(MqttFunctions.dataEx() - .typeId(MQTT_TYPE_ID) - .session() - .deferred(77) - .kind("STATE") - .build() - .build()); - DataFW data22 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000025L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000042L) - .traceId(0x0000000000000025L) - .budgetId(0x0000000000000025L) - .reserved(0x00000000) - .payload(mqttSessionDataPayload, 0, mqttSessionDataPayload.capacity()) - .extension(mqttSessionDataEx1, 0, mqttSessionDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data22.buffer(), 0, data22.sizeof()); - - DirectBuffer mqttSessionDataEx2 = new UnsafeBuffer(MqttFunctions.dataEx() - .typeId(MQTT_TYPE_ID) - .session() - .deferred(88) - .kind("WILL") - .build() - .build()); - DataFW data23 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000024L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000043L) - .traceId(0x0000000000000025L) - .budgetId(0x0000000000000025L) - .reserved(0x00000000) - .payload(mqttSessionDataPayload, 0, mqttSessionDataPayload.capacity()) - .extension(mqttSessionDataEx2, 0, mqttSessionDataEx2.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data23.buffer(), 0, data23.sizeof()); - - DirectBuffer mqttSessionFlushEx1 = new UnsafeBuffer(MqttFunctions.flushEx() - .typeId(MQTT_TYPE_ID) - .session() - .packetId(0x2142) - .build() - .build()); - FlushFW flush5 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000022L) // north_mqtt_server - .routedId(0x0000000900000023L) // north_mqtt_kafka_mapping - .streamId(0x0000000000000025L) // INI - .sequence(401) - .acknowledge(402) - .maximum(7777) - .timestamp(0x0000000000000143L) - .traceId(0x0000000000000025L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(mqttSessionFlushEx1, 0, mqttSessionFlushEx1.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush5.buffer(), 0, flush5.sizeof()); - - // kafka extension - // - CONSUMER - DirectBuffer kafkaConsumerBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .consumer() - .groupId("group-id") - .consumerId("consumer-id") - .timeout(42) - .topic("topic") - .partition(21) - .partition(33) - .partition(77) - .partition(88) - .build() - .build()); - BeginFW begin25 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000027L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000044L) - .traceId(0x0000000000000027L) - .affinity(0x0000000000000000L) - .extension(kafkaConsumerBeginEx1, 0, kafkaConsumerBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin25.buffer(), 0, begin25.sizeof()); - - DirectBuffer kafkaConsumerBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .consumer() - .groupId("group-id") - .consumerId("consumer-id") - .timeout(99) - .topic("topic") - .build() - .build()); - BeginFW begin26 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000026L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000045L) - .traceId(0x0000000000000027L) - .affinity(0x0000000000000000L) - .extension(kafkaConsumerBeginEx2, 0, kafkaConsumerBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin26.buffer(), 0, begin26.sizeof()); - - DirectBuffer kafkaConsumerDataPayload = new String8FW("kafka consumer data payload").value(); - DirectBuffer kafkaConsumerDataEx1 = new UnsafeBuffer(KafkaFunctions.dataEx() - .typeId(KAFKA_TYPE_ID) - .consumer() - .partition(33) - .partition(44) - .partition(55) - .assignments() - .id("consumer-id-1") - .partition(101) - .partition(102) - .build() - .assignments() - .id("consumer-id-2") - .partition(201) - .partition(202) - .build() - .build() - .build()); - DataFW data24 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000027L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000046L) - .traceId(0x0000000000000027L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(kafkaConsumerDataPayload, 0, kafkaConsumerDataPayload.capacity()) - .extension(kafkaConsumerDataEx1, 0, kafkaConsumerDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data24.buffer(), 0, data24.sizeof()); - - DirectBuffer kafkaConsumerFlushEx1 = new UnsafeBuffer(KafkaFunctions.flushEx() - .typeId(KAFKA_TYPE_ID) - .consumer() - .progress(17, 21, "metadata") - .leaderEpoch(42) - .correlationId(77) - .build() - .build()); - FlushFW flush6 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000027L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000047L) - .traceId(0x0000000000000027L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(kafkaConsumerFlushEx1, 0, kafkaConsumerFlushEx1.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush6.buffer(), 0, flush6.sizeof()); - - DirectBuffer kafkaResetEx1 = new UnsafeBuffer(KafkaFunctions.resetEx() - .typeId(KAFKA_TYPE_ID) - .error(666) - .consumerId("consumer-id") - .build()); - ResetFW reset5 = resetRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000027L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000048L) - .traceId(0x0000000000000027L) - .extension(kafkaResetEx1, 0, kafkaResetEx1.capacity()) - .build(); - streams[0].write(ResetFW.TYPE_ID, reset5.buffer(), 0, reset5.sizeof()); - - // - GROUP - DirectBuffer kafkaGroupBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .group() - .groupId("group-id") - .protocol("protocol") - .instanceId("instance-id") - .host("host") - .port(42) - .timeout(77) - .metadata(BitUtil.fromHex("1122334455")) - .build() - .build()); - BeginFW begin27 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000029L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000049L) - .traceId(0x0000000000000029L) - .affinity(0x0000000000000000L) - .extension(kafkaGroupBeginEx1, 0, kafkaGroupBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin27.buffer(), 0, begin27.sizeof()); - - DirectBuffer kafkaGroupBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .group() - .groupId("group-id") - .protocol("protocol") - .instanceId("instance-id") - .host("host") - .port(42) - .timeout(77) - .build() - .build()); - BeginFW begin28 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000028L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000004aL) - .traceId(0x0000000000000029L) - .affinity(0x0000000000000000L) - .extension(kafkaGroupBeginEx2, 0, kafkaGroupBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin28.buffer(), 0, begin28.sizeof()); - - DirectBuffer kafkaGroupFlushEx1 = new UnsafeBuffer(KafkaFunctions.flushEx() - .typeId(KAFKA_TYPE_ID) - .group() - .generationId(77) - .leaderId("leader-id") - .memberId("member-id") - .build() - .build()); - FlushFW flush7 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000029L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000004bL) - .traceId(0x0000000000000029L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(kafkaGroupFlushEx1, 0, kafkaGroupFlushEx1.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush7.buffer(), 0, flush7.sizeof()); - - DirectBuffer kafkaGroupFlushEx2 = new UnsafeBuffer(KafkaFunctions.flushEx() - .typeId(KAFKA_TYPE_ID) - .group() - .generationId(99) - .leaderId("leader-id") - .memberId("member-id") - .members("member-1") - .members("member-2-with-metadata", BitUtil.fromHex("778899aabb")) - .members("member-3") - .build() - .build()); - FlushFW flush8 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000028L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000004cL) - .traceId(0x0000000000000029L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(kafkaGroupFlushEx2, 0, kafkaGroupFlushEx2.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush8.buffer(), 0, flush8.sizeof()); - - // - BOOTSTRAP - DirectBuffer kafkaBootstrapBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .bootstrap() - .topic("topic") - .groupId("group-id") - .consumerId("consumer-id") - // timeout omitted, should be 0 - .build() - .build()); - BeginFW begin29 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000031L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000004dL) - .traceId(0x0000000000000031L) - .affinity(0x0000000000000000L) - .extension(kafkaBootstrapBeginEx1, 0, kafkaBootstrapBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin29.buffer(), 0, begin29.sizeof()); - - DirectBuffer kafkaBootstrapBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .bootstrap() - .topic("topic") - .groupId("group-id") - .consumerId("consumer-id") - .timeout(999_999) - .build() - .build()); - BeginFW begin30 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000030L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000004eL) - .traceId(0x0000000000000031L) - .affinity(0x0000000000000000L) - .extension(kafkaBootstrapBeginEx2, 0, kafkaBootstrapBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin30.buffer(), 0, begin30.sizeof()); - - // - MERGED - DirectBuffer kafkaMergedBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .merged() - .capabilities("PRODUCE_ONLY") - .topic("topic") - .groupId("group-id") - .consumerId("consumer-id") - // timeout omitted, should be 0 - .partition(42, 4242) - .filter() - .key("key1") - .build() - .filter() - .key("key1") - .key("key2") - .header("name1", "value1") - .header("name2", "value2") - .build() - .filter() - .keyNot("key-n1") - .keyNot("key-n2") - .headerNot("name-n1", "value-n1") - .headerNot("name-n2", "value-n2") - .build() - .filter() - .key("key") - .headers("headers-1") - .sequence("value-1", "value-2", "value-3") - .build() - .headers("headers-2") - .sequence("value-01") - .sequence("value-02") - .build() - .build() - .filter() - .headers("headers-skip") - .sequence("value-s1") - .skip(1) - .build() - .headers("headers-skip-many") - .sequence("value-sm01") - .sequence("value-sm02") - .skipMany() - .build() - .build() - .evaluation("LAZY") - .isolation("READ_UNCOMMITTED") - .deltaType("NONE") - .ackMode("NONE") - .build() - .build()); - BeginFW begin31 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000033L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000004fL) - .traceId(0x0000000000000033L) - .affinity(0x0000000000000000L) - .extension(kafkaMergedBeginEx1, 0, kafkaMergedBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin31.buffer(), 0, begin31.sizeof()); - - DirectBuffer kafkaMergedBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .merged() - .capabilities("FETCH_ONLY") - .topic("topic") - .groupId("group-id") - .consumerId("consumer-id") - .timeout(42) - .partition(1, 42_000, 43_000, 44_000, "metadata") - .partition(2, 77_000) - .partition(3, 88_000) - // no filters - .evaluation("EAGER") - .isolation("READ_COMMITTED") - .deltaType("JSON_PATCH") - .ackMode("LEADER_ONLY") - .build() - .build()); - BeginFW begin32 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000032L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000050L) - .traceId(0x0000000000000033L) - .affinity(0x0000000000000000L) - .extension(kafkaMergedBeginEx2, 0, kafkaMergedBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin32.buffer(), 0, begin32.sizeof()); - - DirectBuffer kafkaMergedBeginEx3 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .merged() - .capabilities("PRODUCE_AND_FETCH") - .topic("topic") - .groupId("group-id") - .consumerId("consumer-id") - .timeout(3600) - .partition(42, 123_456) - // no filters - .evaluation("EAGER") - .isolation("READ_COMMITTED") - .deltaType("JSON_PATCH") - .ackMode("IN_SYNC_REPLICAS") - .build() - .build()); - BeginFW begin33 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000032L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000051L) - .traceId(0x0000000000000033L) - .affinity(0x0000000000000000L) - .extension(kafkaMergedBeginEx3, 0, kafkaMergedBeginEx3.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin33.buffer(), 0, begin33.sizeof()); - - DirectBuffer kafkaMergedFetchDataPayload = new String8FW("kafka merged fetch data payload").value(); - DirectBuffer kafkaMergedFetchDataEx1 = new UnsafeBuffer(KafkaFunctions.dataEx() - .typeId(KAFKA_TYPE_ID) - .merged() - .fetch() - .deferred(99) - .timestamp(0x52) - .filters(77) - .partition(1, 42_000) - .progress(17, 42) - .progress(19, 77, 2121) - .key("key") - .delta("JSON_PATCH", 7777) - .header("name1", "value1") - .header("name2", "value2") - .build() - .build()); - DataFW data25 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000033L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000052L) - .traceId(0x0000000000000033L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(kafkaMergedFetchDataPayload, 0, kafkaMergedFetchDataPayload.capacity()) - .extension(kafkaMergedFetchDataEx1, 0, kafkaMergedFetchDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data25.buffer(), 0, data25.sizeof()); - - DirectBuffer kafkaMergedProduceDataPayload = new String8FW("kafka merged produce data payload").value(); - DirectBuffer kafkaMergedProduceDataEx1 = new UnsafeBuffer(KafkaFunctions.dataEx() - .typeId(KAFKA_TYPE_ID) - .merged() - .produce() - .deferred(100) - .timestamp(0x53) - .producerId(0x77L) - .producerEpoch((short) 0x42) - .partition(1, 77_000) - .key("key") - .hashKey("hash-key") - .header("name1", "value1") - .header("name2", "value2") - .build() - .build()); - DataFW data26 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000033L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000053L) - .traceId(0x0000000000000033L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(kafkaMergedProduceDataPayload, 0, kafkaMergedProduceDataPayload.capacity()) - .extension(kafkaMergedProduceDataEx1, 0, kafkaMergedProduceDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data26.buffer(), 0, data26.sizeof()); - - DirectBuffer kafkaMergedConsumerFlushEx = new UnsafeBuffer(KafkaFunctions.flushEx() - .typeId(KAFKA_TYPE_ID) - .merged() - .consumer() - .progress(17, 4242, "metadata") - .correlationId(77) - .build() - .build()); - FlushFW flush9 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000033L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000054L) - .traceId(0x0000000000000033L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(kafkaMergedConsumerFlushEx, 0, kafkaMergedConsumerFlushEx.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush9.buffer(), 0, flush9.sizeof()); - - DirectBuffer kafkaMergedFetchFlushEx = new UnsafeBuffer(KafkaFunctions.flushEx() - .typeId(KAFKA_TYPE_ID) - .merged() - .fetch() - .partition(1, 42_000) - .progress(17, 42) - .progress(19, 77, 2121) - .progress(21, 88, 1122, 3344) - .capabilities("PRODUCE_AND_FETCH") - .filter() - .key("filter-key1") - .build() - .key("key") - .build() - .build()); - FlushFW flush10 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000033L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000055L) - .traceId(0x0000000000000033L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(kafkaMergedFetchFlushEx, 0, kafkaMergedFetchFlushEx.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush10.buffer(), 0, flush10.sizeof()); - - // - INIT_PRODUCER_ID - DirectBuffer kafkaInitProducerIdBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .initProducerId() - .producerId(0x77L) - .producerEpoch((short) 0x42) - .build() - .build()); - BeginFW begin34 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000133L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000056L) - .traceId(0x0000000000000035L) - .affinity(0x0000000000000000L) - .extension(kafkaInitProducerIdBeginEx1, 0, kafkaInitProducerIdBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin34.buffer(), 0, begin34.sizeof()); - - DirectBuffer kafkaInitProducerIdBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .initProducerId() - .producerId(0x88L) - .producerEpoch((short) 0x21) - .build() - .build()); - BeginFW begin35 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000132L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000057L) - .traceId(0x0000000000000035L) - .affinity(0x0000000000000000L) - .extension(kafkaInitProducerIdBeginEx2, 0, kafkaInitProducerIdBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin35.buffer(), 0, begin35.sizeof()); - - // - META - DirectBuffer kafkaMetaBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .meta() - .topic("topic") - .build() - .build()); - BeginFW begin36 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000035L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000056L) - .traceId(0x0000000000000035L) - .affinity(0x0000000000000000L) - .extension(kafkaMetaBeginEx1, 0, kafkaMetaBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin36.buffer(), 0, begin36.sizeof()); - - DirectBuffer kafkaMetaBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .meta() - .topic("topic") - .build() - .build()); - BeginFW begin37 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000034L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000057L) - .traceId(0x0000000000000035L) - .affinity(0x0000000000000000L) - .extension(kafkaMetaBeginEx2, 0, kafkaMetaBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin37.buffer(), 0, begin37.sizeof()); - - DirectBuffer kafkaMetaDataPayload = new String8FW("kafka meta data payload").value(); - DirectBuffer kafkaMetaDataEx1 = new UnsafeBuffer(KafkaFunctions.dataEx() - .typeId(KAFKA_TYPE_ID) - .meta() - .partition(1, 42) - .partition(10, 420) - .partition(100, 4200) - .build() - .build()); - DataFW data27 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000035L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000058L) - .traceId(0x0000000000000035L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(kafkaMetaDataPayload, 0, kafkaMetaDataPayload.capacity()) - .extension(kafkaMetaDataEx1, 0, kafkaMetaDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data27.buffer(), 0, data27.sizeof()); - - // - OFFSET_COMMIT - DirectBuffer kafkaOffsetCommitBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .offsetCommit() - .groupId("group") - .memberId("member") - .instanceId("instance") - .host("host") - .port(4242) - .build() - .build()); - BeginFW begin38 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000037L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000059L) - .traceId(0x0000000000000037L) - .affinity(0x0000000000000000L) - .extension(kafkaOffsetCommitBeginEx1, 0, kafkaOffsetCommitBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin38.buffer(), 0, begin38.sizeof()); - - DirectBuffer kafkaOffsetCommitBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .offsetCommit() - .groupId("group") - .memberId("member") - .instanceId("instance") - .host("host") - .port(4242) - .build() - .build()); - BeginFW begin39 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000036L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000005aL) - .traceId(0x0000000000000037L) - .affinity(0x0000000000000000L) - .extension(kafkaOffsetCommitBeginEx2, 0, kafkaOffsetCommitBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin39.buffer(), 0, begin39.sizeof()); - - DirectBuffer kafkaOffsetCommitDataPayload = new String8FW("kafka offset commit data payload").value(); - DirectBuffer kafkaOffsetCommitDataEx1 = new UnsafeBuffer(KafkaFunctions.dataEx() - .typeId(KAFKA_TYPE_ID) - .offsetCommit() - .topic("test") - .progress(21, 1234, "metadata") - .generationId(42) - .leaderEpoch(77) - .build() - .build()); - DataFW data28 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000037L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000005bL) - .traceId(0x0000000000000037L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(kafkaOffsetCommitDataPayload, 0, kafkaOffsetCommitDataPayload.capacity()) - .extension(kafkaOffsetCommitDataEx1, 0, kafkaOffsetCommitDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data28.buffer(), 0, data28.sizeof()); - - // - OFFSET_FETCH - DirectBuffer kafkaOffsetFetchBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .offsetFetch() - .groupId("group") - .host("host") - .port(42) - .topic("topic") - .partition(21) - .partition(42) - .partition(77) - .partition(88) - .build() - .build()); - BeginFW begin40 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000039L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000005cL) - .traceId(0x0000000000000039L) - .affinity(0x0000000000000000L) - .extension(kafkaOffsetFetchBeginEx1, 0, kafkaOffsetFetchBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin40.buffer(), 0, begin40.sizeof()); - - DirectBuffer kafkaOffsetFetchBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .offsetFetch() - .groupId("group") - .host("host") - .port(42) - .topic("topic") - .partition(42) - .build() - .build()); - BeginFW begin41 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000038L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000005dL) - .traceId(0x0000000000000039L) - .affinity(0x0000000000000000L) - .extension(kafkaOffsetFetchBeginEx2, 0, kafkaOffsetFetchBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin41.buffer(), 0, begin41.sizeof()); - - DirectBuffer kafkaOffsetFetchDataPayload = new String8FW("kafka offset fetch data payload").value(); - DirectBuffer kafkaOffsetFetchDataEx1 = new UnsafeBuffer(KafkaFunctions.dataEx() - .typeId(KAFKA_TYPE_ID) - .offsetFetch() - .partition(17, 21, 42, "metadata1") - .partition(18, 22, 43, "metadata2") - .partition(19, 23, 44, "metadata3") - .build() - .build()); - DataFW data29 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x0000000000000039L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000005eL) - .traceId(0x0000000000000039L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(kafkaOffsetFetchDataPayload, 0, kafkaOffsetFetchDataPayload.capacity()) - .extension(kafkaOffsetFetchDataEx1, 0, kafkaOffsetFetchDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data29.buffer(), 0, data29.sizeof()); - - // - DESCRIBE - DirectBuffer kafkaDescribeBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .describe() - .topic("topic") - .config("config1") - .config("config2") - .config("config3") - .build() - .build()); - BeginFW begin42 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003bL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000005fL) - .traceId(0x000000000000003bL) - .affinity(0x0000000000000000L) - .extension(kafkaDescribeBeginEx1, 0, kafkaDescribeBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin42.buffer(), 0, begin42.sizeof()); - - DirectBuffer kafkaDescribeBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .describe() - .topic("topic") - // configs omitted - .build() - .build()); - BeginFW begin43 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003aL) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000060L) - .traceId(0x000000000000003bL) - .affinity(0x0000000000000000L) - .extension(kafkaDescribeBeginEx2, 0, kafkaDescribeBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin43.buffer(), 0, begin43.sizeof()); - - DirectBuffer kafkaDescribeDataPayload = new String8FW("kafka describe payload").value(); - DirectBuffer kafkaDescribeDataEx1 = new UnsafeBuffer(KafkaFunctions.dataEx() - .typeId(KAFKA_TYPE_ID) - .describe() - .config("name1", "value1") - .config("name2", "value2") - .config("name3", "value3") - .build() - .build()); - DataFW data30 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003bL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000061L) - .traceId(0x000000000000003bL) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(kafkaDescribeDataPayload, 0, kafkaDescribeDataPayload.capacity()) - .extension(kafkaDescribeDataEx1, 0, kafkaDescribeDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data30.buffer(), 0, data30.sizeof()); - - // - FETCH - DirectBuffer kafkaFetchBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .fetch() - .topic("topic") - .partition(42, 4242) - .filter() - .key("key1") - .build() - .filter() - .key("key1") - .key("key2") - .header("name1", "value1") - .header("name2", "value2") - .build() - .evaluation("LAZY") - .isolation("READ_UNCOMMITTED") - .deltaType("NONE") - .build() - .build()); - BeginFW begin44 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003dL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000062L) - .traceId(0x000000000000003dL) - .affinity(0x0000000000000000L) - .extension(kafkaFetchBeginEx1, 0, kafkaFetchBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin44.buffer(), 0, begin44.sizeof()); - - DirectBuffer kafkaFetchBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .fetch() - .topic("topic") - .partition(21, 2121) - .filter() - .key("key1") - .build() - .evaluation("EAGER") - .isolation("READ_COMMITTED") - .deltaType("JSON_PATCH") - .build() - .build()); - BeginFW begin45 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003cL) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000063L) - .traceId(0x000000000000003dL) - .affinity(0x0000000000000000L) - .extension(kafkaFetchBeginEx2, 0, kafkaFetchBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin45.buffer(), 0, begin45.sizeof()); - - DirectBuffer kafkaFetchDataPayload = new String8FW("kafka fetch payload").value(); - DirectBuffer kafkaFetchDataEx1 = new UnsafeBuffer(KafkaFunctions.dataEx() - .typeId(KAFKA_TYPE_ID) - .fetch() - .deferred(7777) - .timestamp(0x64) - .producerId(0x12345678) - .filters(77) - .partition(1, 42_000) - .key("key") - .delta("JSON_PATCH", 7777) - .header("name1", "value1") - .header("name2", "value2") - .build() - .build()); - DataFW data31 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003dL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000064L) - .traceId(0x000000000000003dL) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(kafkaFetchDataPayload, 0, kafkaFetchDataPayload.capacity()) - .extension(kafkaFetchDataEx1, 0, kafkaFetchDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data31.buffer(), 0, data31.sizeof()); - - DirectBuffer kafkaFetchFlushEx = new UnsafeBuffer(KafkaFunctions.flushEx() - .typeId(KAFKA_TYPE_ID) - .fetch() - .partition(21, 2121) - .transaction("ABORT", 0x6666) - .transaction("COMMIT", 0x4277) - .filter() - .key("key1") - .build() - .build() - .build()); - FlushFW flush11 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003dL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000065L) - .traceId(0x000000000000003dL) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(kafkaFetchFlushEx, 0, kafkaFetchFlushEx.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush11.buffer(), 0, flush11.sizeof()); - - // - PRODUCE - DirectBuffer kafkaProduceBeginEx1 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .produce() - .transaction("transaction") - .topic("topic") - .partition(2, 42_000, 77_000) - .build() - .build()); - BeginFW begin46 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003fL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000066L) - .traceId(0x000000000000003fL) - .affinity(0x0000000000000000L) - .extension(kafkaProduceBeginEx1, 0, kafkaProduceBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin46.buffer(), 0, begin46.sizeof()); - - DirectBuffer kafkaProduceBeginEx2 = new UnsafeBuffer(KafkaFunctions.beginEx() - .typeId(KAFKA_TYPE_ID) - .produce() - .transaction("transaction") - .topic("topic") - .partition(1, 21_000) - .build() - .build()); - BeginFW begin47 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003eL) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000067L) - .traceId(0x000000000000003fL) - .affinity(0x0000000000000000L) - .extension(kafkaProduceBeginEx2, 0, kafkaProduceBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin47.buffer(), 0, begin47.sizeof()); - - DirectBuffer kafkaProduceDataPayload = new String8FW("kafka produce payload").value(); - DirectBuffer kafkaProduceDataEx1 = new UnsafeBuffer(KafkaFunctions.dataEx() - .typeId(KAFKA_TYPE_ID) - .produce() - .deferred(999) - .timestamp(0x68) - .producerId(0x77L) - .producerEpoch((short) 0x42) - .sequence(777) - .ackMode("LEADER_ONLY") - .key("key") - .header("name1", "value1") - .header("name2", "value2") - .build() - .build()); - DataFW data32 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003fL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000068L) - .traceId(0x000000000000003fL) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(kafkaProduceDataPayload, 0, kafkaProduceDataPayload.capacity()) - .extension(kafkaProduceDataEx1, 0, kafkaProduceDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data32.buffer(), 0, data32.sizeof()); - - DirectBuffer kafkaProduceFlushEx = new UnsafeBuffer(KafkaFunctions.flushEx() - .typeId(KAFKA_TYPE_ID) - .produce() - .partition(2, 42_000, 77_000) - .key("key") - .build() - .build()); - FlushFW flush12 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x000000090000000fL) // north_kafka_cache_client - .routedId(0x0000000900000010L) // south_kafka_cache_server - .streamId(0x000000000000003fL) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000069L) - .traceId(0x000000000000003fL) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(kafkaProduceFlushEx, 0, kafkaProduceFlushEx.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush12.buffer(), 0, flush12.sizeof()); - - // amqp extension - DirectBuffer amqpBeginEx1 = new UnsafeBuffer(AmqpFunctions.beginEx() - .typeId(AMQP_TYPE_ID) - .address("address") - .capabilities("SEND_AND_RECEIVE") - .senderSettleMode("SETTLED") - .receiverSettleMode("FIRST") - .build()); - BeginFW begin48 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000025L) // north_amqp_server - .routedId(0x0000000900000026L) // north_fan_server - .streamId(0x0000000000000041L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000006aL) - .traceId(0x0000000000000041L) - .affinity(0x0000000000000000L) - .extension(amqpBeginEx1, 0, amqpBeginEx1.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin48.buffer(), 0, begin48.sizeof()); - - DirectBuffer amqpBeginEx2 = new UnsafeBuffer(AmqpFunctions.beginEx() - .typeId(AMQP_TYPE_ID) - .address("address") - .capabilities("SEND_ONLY") - .senderSettleMode("MIXED") - .receiverSettleMode("SECOND") - .build()); - BeginFW begin49 = beginRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000025L) // north_amqp_server - .routedId(0x0000000900000026L) // north_fan_server - .streamId(0x0000000000000040L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000006bL) - .traceId(0x0000000000000041L) - .affinity(0x0000000000000000L) - .extension(amqpBeginEx2, 0, amqpBeginEx2.capacity()) - .build(); - streams[0].write(BeginFW.TYPE_ID, begin49.buffer(), 0, begin49.sizeof()); - - DirectBuffer amqpPayload = new String8FW("amqp payload").value(); - DirectBuffer amqpDataEx1 = new UnsafeBuffer(AmqpFunctions.dataEx() - .typeId(AMQP_TYPE_ID) - .deliveryTag("delivery-tag") - .messageFormat(7777) - .flags("BATCHABLE") - // annotations: - .annotation("annotation1", "value1".getBytes(StandardCharsets.UTF_8)) - .annotation(0x8888L, "value2".getBytes(StandardCharsets.UTF_8)) - // properties: - .messageId("message-id") - .to("to") - .correlationId("correlation-id") - // application properties: - .property("app-property1", "value1".getBytes(StandardCharsets.UTF_8)) - .property("app-property2", "value2".getBytes(StandardCharsets.UTF_8)) - .bodyKind("VALUE") - .deferred(9999) - .build()); - DataFW data33 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000025L) // north_amqp_server - .routedId(0x0000000900000026L) // north_fan_server - .streamId(0x0000000000000041L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000006cL) - .traceId(0x0000000000000041L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(amqpPayload, 0, amqpPayload.capacity()) - .extension(amqpDataEx1, 0, amqpDataEx1.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data33.buffer(), 0, data33.sizeof()); - - DirectBuffer amqpDataEx2 = new UnsafeBuffer(AmqpFunctions.dataEx() - .typeId(AMQP_TYPE_ID) - .deliveryTag("delivery-tag") - .messageFormat(1111) - .flags("BATCHABLE", "ABORTED", "RESUME", "SETTLED") - // annotations: - .annotation("annotation1", "value1".getBytes(StandardCharsets.UTF_8)) - .annotation(0x2222L, "value2".getBytes(StandardCharsets.UTF_8)) - // properties: - .messageId(0x77L) - .userId("user-id") - .to("to") - .subject("subject") - .replyTo("reply-to") - .correlationId(0x88L) - .contentType("content-type") - .contentEncoding("content-encoding") - .absoluteExpiryTime(123_456) - .creationTime(654_321) - .groupId("group-id") - .groupSequence(456_789) - .replyToGroupId("reply-to-group-id") - // application properties: - .property("app-property1", "value1".getBytes(StandardCharsets.UTF_8)) - .property("app-property2", "value2".getBytes(StandardCharsets.UTF_8)) - .bodyKind("VALUE_STRING32") - .deferred(3333) - .build()); - DataFW data34 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000025L) // north_amqp_server - .routedId(0x0000000900000026L) // north_fan_server - .streamId(0x0000000000000040L) // REP - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000006dL) - .traceId(0x0000000000000042L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(amqpPayload, 0, amqpPayload.capacity()) - .extension(amqpDataEx2, 0, amqpDataEx2.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data34.buffer(), 0, data34.sizeof()); - - DirectBuffer amqpDataEx3 = new UnsafeBuffer(AmqpFunctions.dataEx() - .typeId(AMQP_TYPE_ID) - .deliveryTag("delivery-tag") - .messageFormat(2222) - .flags("BATCHABLE", "ABORTED", "RESUME", "SETTLED") - // annotations: - .annotation("annotation1", "value1".getBytes(StandardCharsets.UTF_8)) - .annotation(0x3333L, "value2".getBytes(StandardCharsets.UTF_8)) - // properties: - .messageId("message-id".getBytes(StandardCharsets.UTF_8)) - .replyTo("reply-to") - .correlationId("correlation-id".getBytes(StandardCharsets.UTF_8)) - .contentType("content-type") - .contentEncoding("content-encoding") - .groupId("group-id") - .replyToGroupId("reply-to-group-id") - // application properties: - .property("app-property1", "value1".getBytes(StandardCharsets.UTF_8)) - .property("app-property2", "value2".getBytes(StandardCharsets.UTF_8)) - .bodyKind("VALUE_STRING32") - .deferred(4444) - .build()); - DataFW data35 = dataRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000025L) // north_amqp_server - .routedId(0x0000000900000026L) // north_fan_server - .streamId(0x0000000000000041L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000006eL) - .traceId(0x0000000000000042L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .payload(amqpPayload, 0, amqpPayload.capacity()) - .extension(amqpDataEx3, 0, amqpDataEx3.capacity()) - .build(); - streams[0].write(DataFW.TYPE_ID, data35.buffer(), 0, data35.sizeof()); - - DirectBuffer amqpFlushEx = new UnsafeBuffer(new byte[]{ - AMQP_TYPE_ID, 0, 0, 0, // int32 typeId - 3 // uint8 AmqpCapabilities - }); - FlushFW flush13 = flushRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000025L) // north_amqp_server - .routedId(0x0000000900000026L) // north_fan_server - .streamId(0x0000000000000041L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x000000000000006fL) - .traceId(0x0000000000000041L) - .budgetId(0x0000000000000000L) - .reserved(0x00000000) - .extension(amqpFlushEx, 0, amqpFlushEx.capacity()) - .build(); - streams[0].write(FlushFW.TYPE_ID, flush13.buffer(), 0, flush13.sizeof()); - - DirectBuffer amqpAbortEx = new UnsafeBuffer(AmqpFunctions.abortEx() - .typeId(AMQP_TYPE_ID) - .condition("condition") - .build()); - AbortFW abort3 = abortRW.wrap(frameBuffer, 0, frameBuffer.capacity()) - .originId(0x0000000900000025L) // north_amqp_server - .routedId(0x0000000900000026L) // north_fan_server - .streamId(0x0000000000000041L) // INI - .sequence(0) - .acknowledge(0) - .maximum(0) - .timestamp(0x0000000000000070L) - .traceId(0x0000000000000041L) - .extension(amqpAbortEx, 0, amqpAbortEx.capacity()) - .build(); - streams[0].write(AbortFW.TYPE_ID, abort3.buffer(), 0, abort3.sizeof()); - } - - @BeforeEach - public void init() - { - command = new ZillaDumpCommand(); - command.verbose = true; - command.continuous = false; - command.properties = List.of(String.format("zilla.engine.directory=%s", ENGINE_PATH)); - command.output = Paths.get(tempDir.getPath(), "actual.pcap"); - } - - @Test - public void shouldWritePcap() throws IOException - { - // GIVEN - byte[] expected = getResourceAsBytes("expected_dump.pcap"); - - // WHEN - command.run(); - - // THEN - File[] files = tempDir.listFiles(); - assert files != null; - assertThat(files.length, equalTo(1)); - byte[] actual = Files.readAllBytes(files[0].toPath()); - assertThat(hexDump(actual), equalTo(hexDump(expected))); - } - - @Test - public void shouldWriteFilteredPcap() throws IOException - { - // GIVEN - byte[] expected = getResourceAsBytes("expected_filtered_dump.pcap"); - - // WHEN - command.bindings = singletonList("example.north_http_kafka_mapping"); - command.run(); - - // THEN - File[] files = tempDir.listFiles(); - assert files != null; - assertThat(files.length, equalTo(1)); - byte[] actual = Files.readAllBytes(files[0].toPath()); - assertThat(hexDump(actual), equalTo(hexDump(expected))); - } - - private static String hexDump( - byte[] bytes) - { - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - try - { - HexDump.dump(bytes, 0, baos, 0); - } - catch (IOException ex) - { - ex.printStackTrace(); - } - return baos.toString(); - } - - private static byte[] getResourceAsBytes( - String resourceName) throws IOException - { - byte[] bytes; - try (InputStream is = ZillaDumpCommandTest.class.getResourceAsStream(resourceName)) - { - assert is != null; - bytes = is.readAllBytes(); - } - return bytes; - } -} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/DumpCommandRunner.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/DumpCommandRunner.java new file mode 100644 index 0000000000..e0d3061ab8 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/DumpCommandRunner.java @@ -0,0 +1,42 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal.test; + +import java.nio.file.Path; +import java.util.List; + +import io.aklivity.zilla.runtime.command.dump.internal.airline.ZillaDumpCommand; + +class DumpCommandRunner +{ + private static final Path ENGINE_PATH = Path.of("target/zilla-itests"); + + private final ZillaDumpCommand command; + + DumpCommandRunner() + { + command = new ZillaDumpCommand(); + command.verbose = true; + command.continuous = false; + command.properties = List.of(String.format("zilla.engine.directory=%s", ENGINE_PATH)); + } + + public void createPcap( + Path file) + { + command.output = file; + command.run(); + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/DumpRule.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/DumpRule.java new file mode 100644 index 0000000000..713cc52af7 --- /dev/null +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/DumpRule.java @@ -0,0 +1,148 @@ +/* + * Copyright 2021-2023 Aklivity Inc + * + * Licensed under the Aklivity Community License (the "License"); you may not use + * this file except in compliance with the License. You may obtain a copy of the + * License at + * + * https://www.aklivity.io/aklivity-community-license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package io.aklivity.zilla.runtime.command.dump.internal.test; + +import static java.nio.ByteOrder.nativeOrder; +import static java.nio.file.StandardOpenOption.CREATE; +import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; +import static java.nio.file.StandardOpenOption.WRITE; +import static org.agrona.LangUtil.rethrowUnchecked; +import static org.hamcrest.MatcherAssert.assertThat; +import static org.hamcrest.Matchers.equalTo; + +import java.net.URL; +import java.nio.ByteBuffer; +import java.nio.channels.ByteChannel; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.HashMap; +import java.util.Map; + +import org.junit.rules.TestRule; +import org.junit.runner.Description; +import org.junit.runners.model.Statement; +import org.testcontainers.containers.Container; + +import io.aklivity.zilla.runtime.engine.namespace.NamespacedId; + +public final class DumpRule implements TestRule +{ + private static final Path ENGINE_PATH = Path.of("target/zilla-itests"); + private static final Path BINDINGS_PATH = ENGINE_PATH.resolve("bindings"); + private static final Path LABELS_PATH = ENGINE_PATH.resolve("labels"); + private static final Path PCAP_PATH = ENGINE_PATH.resolve("actual.pcap"); + private static final Path TXT_PATH = ENGINE_PATH.resolve("actual.txt"); + private static final DumpCommandRunner DUMP = new DumpCommandRunner(); + private static final TsharkRunner TSHARK = new TsharkRunner(); + + private String[] bindings; + private String[] labels; + private Map lookupLabel; + + @Override + public Statement apply( + Statement base, + Description description) + { + Class testClass = description.getTestClass(); + String testMethod = description.getMethodName(); + String resourceName = String.format("%s_%s.txt", testClass.getSimpleName(), testMethod); + URL resource = testClass.getResource(resourceName); + assert resource != null; + String expected = null; + try + { + expected = Files.readString(Path.of(resource.toURI())); + } + catch (Exception ex) + { + rethrowUnchecked(ex); + } + final String expected0 = expected; + + return new Statement() + { + @Override + public void evaluate() throws Throwable + { + Files.createDirectories(ENGINE_PATH); + writeLabels(); + writeBindings(); + base.evaluate(); + DUMP.createPcap(PCAP_PATH); + Container.ExecResult result = TSHARK.createTxt(PCAP_PATH); + Files.writeString(TXT_PATH, result.getStdout()); + assertThat(result.getExitCode(), equalTo(0)); + assert expected0 != null; + assertThat(result.getStdout(), equalTo(expected0)); + } + }; + } + + public DumpRule labels( + String... labels) + { + this.labels = labels; + this.lookupLabel = new HashMap<>(); + for (int i = 0; i < labels.length; i++) + { + lookupLabel.put(labels[i], i + 1); + } + lookupLabel.put("0", 0); + return this; + } + + public DumpRule bindings( + String... bindings) + { + this.bindings = bindings; + return this; + } + + private void writeLabels() throws Exception + { + if (labels != null) + { + String allLabels = String.join("\n", labels) + "\n"; + Files.write(LABELS_PATH, allLabels.getBytes(), CREATE, TRUNCATE_EXISTING); + } + } + + private void writeBindings() throws Exception + { + if (labels != null && bindings != null) + { + long[] records = new long[bindings.length]; + for (int i = 0; i < bindings.length; i++) + { + String[] parts = bindings[i].split("\\."); + int namespaceId = lookupLabel.get(parts[0]); + int localId = lookupLabel.get(parts[1]); + records[i] = NamespacedId.id(namespaceId, localId); + } + try (ByteChannel channel = Files.newByteChannel(BINDINGS_PATH, CREATE, WRITE)) + { + ByteBuffer byteBuf = ByteBuffer.wrap(new byte[records.length * Long.BYTES]).order(nativeOrder()); + byteBuf.clear(); + for (long record : records) + { + byteBuf.putLong(record); + } + byteBuf.flip(); + channel.write(byteBuf); + } + } + } +} diff --git a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/airline/WiresharkIT.java b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/TsharkRunner.java similarity index 57% rename from incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/airline/WiresharkIT.java rename to incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/TsharkRunner.java index 4bf927c89b..78396ca1ec 100644 --- a/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/airline/WiresharkIT.java +++ b/incubator/command-dump/src/test/java/io/aklivity/zilla/runtime/command/dump/internal/test/TsharkRunner.java @@ -12,11 +12,9 @@ * WARRANTIES OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package io.aklivity.zilla.runtime.command.dump.internal.airline; +package io.aklivity.zilla.runtime.command.dump.internal.test; -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.equalTo; -import static org.junit.jupiter.api.TestInstance.Lifecycle.PER_CLASS; +import static org.agrona.LangUtil.rethrowUnchecked; import java.io.IOException; import java.io.InputStream; @@ -25,10 +23,6 @@ import java.nio.file.Files; import java.nio.file.Path; -import org.junit.jupiter.api.AfterAll; -import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.TestInstance; import org.testcontainers.containers.Container; import org.testcontainers.containers.ContainerFetchException; import org.testcontainers.containers.GenericContainer; @@ -38,8 +32,9 @@ import org.testcontainers.images.builder.Transferable; import org.testcontainers.utility.DockerImageName; -@TestInstance(PER_CLASS) -public class WiresharkIT +import io.aklivity.zilla.runtime.command.dump.internal.airline.ZillaDumpCommand; + +class TsharkRunner { private static final String TSHARK_DOCKER_IMAGE = "kreinerattila/tshark:4.2.0"; private static final String COMMAND = "sleep infinity"; @@ -47,8 +42,7 @@ public class WiresharkIT private GenericContainer tshark; - @BeforeAll - public void setUp() throws IOException + TsharkRunner() { try { @@ -68,56 +62,33 @@ public void setUp() throws IOException .waitingFor(WAIT_STRATEGY); tshark.start(); } - assert tshark.isRunning(); + if (!tshark.isRunning()) + { + throw new RuntimeException("tshark is not running"); + } System.out.printf("Container %s (%s) is running!%n", tshark.getContainerName(), tshark.getContainerId()); - copyResource("zilla.lua", tshark, "/home/tshark/.local/lib/wireshark/plugins/zilla.lua"); - } - - @AfterAll - public void close() - { - tshark.close(); - } - - @Test - public void shouldMatchExpectedOutput() throws Exception - { - // GIVEN - String pcapFileName = "expected_dump.pcap"; - String containerPath = String.format("/opt/%s", pcapFileName); - copyResource(pcapFileName, tshark, containerPath); - String expectedText = Files.readString(resourceToPath("expected_dump.txt")); - - // WHEN - String protocols = "zilla,http,http2,tls,mqtt,kafka,amqp"; - Container.ExecResult result = tshark.execInContainer("tshark", "-O", protocols, "-r", containerPath); - - // THEN - assertThat(result.getExitCode(), equalTo(0)); - assertThat(result.getStdout(), equalTo(expectedText)); + try + { + copyResource("zilla.lua", tshark, "/home/tshark/.local/lib/wireshark/plugins/zilla.lua"); + } + catch (Exception ex) + { + rethrowUnchecked(ex); + } } - @Test - public void shouldMatchExpectedFilteredOutput() throws Exception + public Container.ExecResult createTxt( + Path file) throws Exception { - // GIVEN - String pcapFileName = "expected_filtered_dump.pcap"; - String containerPath = String.format("/opt/%s", pcapFileName); - copyResource(pcapFileName, tshark, containerPath); - String expectedText = Files.readString(resourceToPath("expected_filtered_dump.txt")); - - // WHEN - Container.ExecResult result = tshark.execInContainer("tshark", "-O", "zilla", "-r", containerPath); - - // THEN - assertThat(result.getExitCode(), equalTo(0)); - assertThat(result.getStdout(), equalTo(expectedText)); + String containerPath = String.format("/opt/%s", file.getFileName()); + tshark.copyFileToContainer(Transferable.of(Files.readAllBytes(file)), containerPath); + return tshark.execInContainer("tshark", "-O", "zilla", "-r", containerPath); } private static Path resourceToPath( String name) { - URL resource = WiresharkIT.class.getResource(name); + URL resource = TsharkRunner.class.getResource(name); assert resource != null; return Path.of(URI.create(resource.toString())); } @@ -128,7 +99,7 @@ private static void copyResource( String containerPath) throws IOException { assert container.isRunning(); - try (InputStream is = WiresharkIT.class.getResourceAsStream(resourceName)) + try (InputStream is = ZillaDumpCommand.class.getResourceAsStream(resourceName)) { assert is != null; container.copyFileToContainer(Transferable.of(is.readAllBytes()), containerPath); diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/AmqpLinkNetworkIT_shouldExchangeAttachAsReceiver.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/AmqpLinkNetworkIT_shouldExchangeAttachAsReceiver.txt new file mode 100644 index 0000000000..a10ad8cd47 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/AmqpLinkNetworkIT_shouldExchangeAttachAsReceiver.txt @@ -0,0 +1,857 @@ +Frame 1: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 2: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 128, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000058 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 128, Ack: 129, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x000000b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 265, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000110 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 219 bytes on wire (1752 bits), 219 bytes captured (1752 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 265, Ack: 266, Len: 145 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000170 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 8 + Progress: 8 + Progress/Maximum: 8/8192 + Payload + Length: 8 + Payload +Advanced Message Queuing Protocol + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 410, Ack: 266, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x000001d8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 8 + Acknowledge: 8 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 219 bytes on wire (1752 bits), 219 bytes captured (1752 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 547, Len: 145 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000238 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 8 + Progress: 8 + Progress/Maximum: 8/8192 + Payload + Length: 8 + Payload +Advanced Message Queuing Protocol + +Frame 8: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 411, Ack: 547, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x000002a0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 8 + Acknowledge: 8 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 9: 233 bytes on wire (1864 bits), 233 bytes captured (1864 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 547, Ack: 548, Len: 159 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000300 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 8 + Acknowledge: 8 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 22 + Progress: 22 + Progress/Maximum: 22/8192 + Payload + Length: 22 + Payload +Advanced Message Queuing Protocol + +Frame 10: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 706, Ack: 548, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000378 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 30 + Acknowledge: 30 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 11: 233 bytes on wire (1864 bits), 233 bytes captured (1864 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 548, Ack: 843, Len: 159 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x000003d8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 8 + Acknowledge: 8 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 22 + Progress: 22 + Progress/Maximum: 22/8192 + Payload + Length: 22 + Payload +Advanced Message Queuing Protocol + +Frame 12: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 707, Ack: 843, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000450 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 30 + Acknowledge: 30 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000c + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 13: 238 bytes on wire (1904 bits), 238 bytes captured (1904 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 843, Ack: 844, Len: 164 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x000004b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 30 + Acknowledge: 30 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000d + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 27 + Progress: 27 + Progress/Maximum: 27/8192 + Payload + Length: 27 + Payload +Advanced Message Queuing Protocol + +Frame 14: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1007, Ack: 844, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000528 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 57 + Acknowledge: 57 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000e + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 15: 240 bytes on wire (1920 bits), 240 bytes captured (1920 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 844, Ack: 1144, Len: 166 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000588 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 30 + Acknowledge: 30 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000f + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 29 + Progress: 29 + Progress/Maximum: 29/8192 + Payload + Length: 29 + Payload +Advanced Message Queuing Protocol + +Frame 16: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1010, Ack: 1144, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000608 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 59 + Acknowledge: 59 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000010 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 17: 253 bytes on wire (2024 bits), 253 bytes captured (2024 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1144, Ack: 1147, Len: 179 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000668 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 57 + Acknowledge: 57 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000011 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 42 + Progress: 42 + Progress/Maximum: 42/8192 + Payload + Length: 42 + Payload +Advanced Message Queuing Protocol + +Frame 18: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1323, Ack: 1147, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x000006f0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 99 + Acknowledge: 99 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000012 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 19: 260 bytes on wire (2080 bits), 260 bytes captured (2080 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1147, Ack: 1460, Len: 186 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000750 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 59 + Acknowledge: 59 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000013 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 49 + Progress: 49 + Progress/Maximum: 49/8192 + Payload + Length: 49 + Payload +Advanced Message Queuing Protocol + +Frame 20: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1333, Ack: 1460, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x000007e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 108 + Acknowledge: 108 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000014 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 21: 239 bytes on wire (1912 bits), 239 bytes captured (1912 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1460, Ack: 1470, Len: 165 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000840 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 99 + Acknowledge: 99 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000015 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 28 + Progress: 28 + Progress/Maximum: 28/8192 + Payload + Length: 28 + Payload +Advanced Message Queuing Protocol + +Frame 22: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1625, Ack: 1470, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x000008c0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 127 + Acknowledge: 99 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000016 + Authorization: 0x0000000000000000 + +Frame 23: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1745, Ack: 1470, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000910 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 127 + Acknowledge: 127 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000017 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 24: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1470, Ack: 1882, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x112dc182 + Protocol Type: amqp + Worker: 0 + Offset: 0x00000970 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 108 + Acknowledge: 108 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000018 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/AmqpStreamApplicationIT_shouldConnectAsReceiverOnly.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/AmqpStreamApplicationIT_shouldConnectAsReceiverOnly.txt new file mode 100644 index 0000000000..3c9da71d9d --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/AmqpStreamApplicationIT_shouldConnectAsReceiverOnly.txt @@ -0,0 +1,200 @@ +Frame 1: 217 bytes on wire (1736 bits), 217 bytes captured (1736 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 143 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: amqp + Stream Type ID: 0x82c12d11 + Stream Type: amqp + Address: clients + Length: 7 + Name: clients + Capabilities: RECEIVE_ONLY (2) + Sender Settle Mode: SETTLED (1) + Receiver Settle Mode: FIRST (0) + +Frame 2: 217 bytes on wire (1736 bits), 217 bytes captured (1736 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 143, Len: 143 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000068 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: amqp + Stream Type ID: 0x82c12d11 + Stream Type: amqp + Address: clients + Length: 7 + Name: clients + Capabilities: RECEIVE_ONLY (2) + Sender Settle Mode: SETTLED (1) + Receiver Settle Mode: FIRST (0) + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 143, Ack: 144, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000d0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 144, Ack: 280, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000130 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 280, Ack: 281, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000190 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + +Frame 6: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 281, Ack: 400, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/FileSystemApplicationIT_shouldReadFileExtensionOnly.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/FileSystemApplicationIT_shouldReadFileExtensionOnly.txt new file mode 100644 index 0000000000..201b1cd60d --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/FileSystemApplicationIT_shouldReadFileExtensionOnly.txt @@ -0,0 +1,218 @@ +Frame 1: 242 bytes on wire (1936 bits), 242 bytes captured (1936 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 168 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: filesystem + Stream Type ID: 0x9eaae6e4 + Stream Type: filesystem + Capabilities: 0x00000002 + .... .... .... .... .... .... .... ...0 = READ_PAYLOAD: Not set (0) + .... .... .... .... .... .... .... ..1. = READ_EXTENSION: Set (1) + .... .... .... .... .... .... .... .0.. = READ_CHANGES: Not set (0) + Path: index.html + Length: 10 + Path: index.html + Type: + Length: -1 + Type: + Payload Size: 0 + Tag: + Length: -1 + Tag: + Timeout: 0 + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 168, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000080 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 305, Ack: 1, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + +Frame 4: 251 bytes on wire (2008 bits), 251 bytes captured (2008 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 425, Len: 177 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000130 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: filesystem + Stream Type ID: 0x9eaae6e4 + Stream Type: filesystem + Capabilities: 0x00000002 + .... .... .... .... .... .... .... ...0 = READ_PAYLOAD: Not set (0) + .... .... .... .... .... .... .... ..1. = READ_EXTENSION: Set (1) + .... .... .... .... .... .... .... .0.. = READ_CHANGES: Not set (0) + Path: index.html + Length: 10 + Path: index.html + Type: text/html + Length: 9 + Type: text/html + Payload Size: 77 + Tag: + Length: -1 + Tag: + Timeout: 0 + +Frame 5: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 178, Ack: 425, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001b8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 298, Ack: 425, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000208 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/GrpcServerStreamRpcApplicationIT_shouldEstablishServerStreamRpc.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/GrpcServerStreamRpcApplicationIT_shouldEstablishServerStreamRpc.txt new file mode 100644 index 0000000000..44fbb4f316 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/GrpcServerStreamRpcApplicationIT_shouldEstablishServerStreamRpc.txt @@ -0,0 +1,430 @@ +Frame 1: 288 bytes on wire (2304 bits), 288 bytes captured (2304 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 214 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: grpc + Stream Type ID: 0x3a58c7f9 + Stream Type: grpc + Scheme: http + Length: 4 + Scheme: http + Authority: localhost:8080 + Length: 14 + Authority: localhost:8080 + Service: example.EchoService + Length: 19 + Service: example.EchoService + Method: EchoServerStream + Length: 16 + Method: EchoServerStream + Metadata (1 items) + Length: 17 + Size: 1 + Metadata: [TEXT] custom: test + Type: TEXT (0) + Length (varint32): 0c + Length: 6 + Name: custom + Length (varint32): 08 + Length: 4 + Value: test + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 214, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 224 bytes on wire (1792 bits), 224 bytes captured (1792 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 351, Ack: 1, Len: 150 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000110 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 13 + Progress: 13 + Progress/Maximum: 13/8192 + Payload + Length: 13 + Payload + +Frame 4: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 501, Ack: 1, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000180 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 13 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + +Frame 5: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 621, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001d0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 13 + Acknowledge: 13 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 6: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 758, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000230 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 7: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 758, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000288 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 8: 225 bytes on wire (1800 bits), 225 bytes captured (1800 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 758, Len: 151 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002e8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 14 + Progress: 14 + Progress/Maximum: 14/8192 + Payload + Length: 14 + Payload + +Frame 9: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 417, Ack: 758, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000358 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 14 + Acknowledge: 14 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 10: 225 bytes on wire (1800 bits), 225 bytes captured (1800 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 554, Ack: 758, Len: 151 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000003b8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 14 + Acknowledge: 14 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 14 + Progress: 14 + Progress/Maximum: 14/8192 + Payload + Length: 14 + Payload + +Frame 11: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 705, Ack: 758, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000428 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 28 + Acknowledge: 14 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + +Frame 12: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 825, Ack: 758, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000478 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 28 + Acknowledge: 28 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000c + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationApplicationIT_shouldChallengeCredentialsHeader.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationApplicationIT_shouldChallengeCredentialsHeader.txt new file mode 100644 index 0000000000..4a3b9fdd17 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationApplicationIT_shouldChallengeCredentialsHeader.txt @@ -0,0 +1,431 @@ +Frame 1: 308 bytes on wire (2464 bits), 308 bytes captured (2464 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 234 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000001 + Affinity: 0x0000000000000000 + Extension: http + Stream Type ID: 0x4620b68a + Stream Type: http + Headers (5 items) + Length: 98 + Size: 5 + Header: :method: GET + Length: 7 + Name: :method + Length: 3 + Value: GET + Header: :scheme: https + Length: 7 + Name: :scheme + Length: 5 + Value: https + Header: :path: / + Length: 5 + Name: :path + Length: 1 + Value: / + Header: :authority: example.com:9090 + Length: 10 + Name: :authority + Length: 16 + Value: example.com:9090 + Header: authorization: Bearer TOKEN + Length: 13 + Name: authorization + Length: 12 + Value: Bearer TOKEN + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 234, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000c0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x01 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 371, Ack: 1, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000120 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000001 + +Frame 4: 309 bytes on wire (2472 bits), 309 bytes captured (2472 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 491, Len: 235 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000170 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: http + Stream Type ID: 0x4620b68a + Stream Type: http + Headers (4 items) + Length: 99 + Size: 4 + Header: :status: 200 + Length: 7 + Name: :status + Length: 3 + Value: 200 + Header: server: Zilla + Length: 6 + Name: server + Length: 5 + Value: Zilla + Header: date: Tue, 02 Feb 2022 22:22:22 GMT + Length: 4 + Name: date + Length: 29 + Value: Tue, 02 Feb 2022 22:22:22 GMT + Header: content-type: text/event-stream + Length: 12 + Name: content-type + Length: 17 + Value: text/event-stream + +Frame 5: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 236, Ack: 491, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000230 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 6: 230 bytes on wire (1840 bits), 230 bytes captured (1840 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 373, Ack: 491, Len: 156 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000290 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 19 + Progress: 19 + Progress/Maximum: 19/8192 + Payload + Length: 19 + Payload + +Frame 7: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 529, Ack: 491, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000300 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 19 + Acknowledge: 19 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 8: 267 bytes on wire (2136 bits), 267 bytes captured (2136 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 666, Ack: 491, Len: 193 +Zilla Frame + Frame Type ID: 0x40000004 + Frame Type: CHALLENGE + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000360 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 19 + Acknowledge: 19 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Extension: http + Stream Type ID: 0x4620b68a + Stream Type: http + Headers (2 items) + Length: 65 + Size: 2 + Header: :method: POST + Length: 7 + Name: :method + Length: 4 + Value: POST + Header: content-type: application/x-challenge-response + Length: 12 + Name: content-type + Length: 32 + Value: application/x-challenge-response + +Frame 9: 312 bytes on wire (2496 bits), 312 bytes captured (2496 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 859, Ack: 491, Len: 238 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000003f8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 19 + Acknowledge: 19 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 101 + Progress: 101 + Progress/Maximum: 101/8192 + Payload + Length: 101 + Payload + +Frame 10: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1097, Ack: 491, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000004c0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 120 + Acknowledge: 19 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + +Frame 11: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1217, Ack: 491, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000510 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 120 + Acknowledge: 120 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationNetworkIT_shouldChallengeCredentialsHeader.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationNetworkIT_shouldChallengeCredentialsHeader.txt new file mode 100644 index 0000000000..ea1f10ac7f --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/Http2AuthorizationNetworkIT_shouldChallengeCredentialsHeader.txt @@ -0,0 +1,932 @@ +Frame 1: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 2: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 128, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000058 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 128, Ack: 129, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x000000b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 265, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000110 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 5: 235 bytes on wire (1880 bits), 235 bytes captured (1880 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 265, Ack: 266, Len: 161 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000170 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 24 + Progress: 24 + Progress/Maximum: 24/40000 + Payload + Length: 24 + Payload +HyperText Transfer Protocol 2 + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 426, Ack: 266, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x000001e8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 24 + Acknowledge: 24 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 7: 238 bytes on wire (1904 bits), 238 bytes captured (1904 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 563, Len: 164 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000248 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 27 + Progress: 27 + Progress/Maximum: 27/40000 + Payload + Length: 27 + Payload +HyperText Transfer Protocol 2 + +Frame 8: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 430, Ack: 563, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x000002c0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 27 + Acknowledge: 27 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 9: 232 bytes on wire (1856 bits), 232 bytes captured (1856 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 563, Ack: 567, Len: 158 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000320 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 24 + Acknowledge: 24 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 21 + Progress: 21 + Progress/Maximum: 21/40000 + Payload + Length: 21 + Payload +HyperText Transfer Protocol 2 + +Frame 10: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 721, Ack: 567, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000398 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 45 + Acknowledge: 45 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 11: 220 bytes on wire (1760 bits), 220 bytes captured (1760 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 567, Ack: 858, Len: 146 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x000003f8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 27 + Acknowledge: 27 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 9 + Progress: 9 + Progress/Maximum: 9/40000 + Payload + Length: 9 + Payload +HyperText Transfer Protocol 2 + +Frame 12: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 713, Ack: 858, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000460 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 36 + Acknowledge: 36 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000c + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 13: 220 bytes on wire (1760 bits), 220 bytes captured (1760 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 858, Ack: 850, Len: 146 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x000004c0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 45 + Acknowledge: 45 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000d + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 9 + Progress: 9 + Progress/Maximum: 9/40000 + Payload + Length: 9 + Payload +HyperText Transfer Protocol 2 + +Frame 14: 269 bytes on wire (2152 bits), 269 bytes captured (2152 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1004, Ack: 850, Len: 195 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000528 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 54 + Acknowledge: 45 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000e + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 58 + Progress: 67 + Progress/Maximum: 67/40000 + Payload + Length: 58 + Payload +HyperText Transfer Protocol 2 + +Frame 15: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1199, Ack: 850, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x000005c0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 54 + Acknowledge: 54 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000f + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 16: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1336, Ack: 850, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000620 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 112 + Acknowledge: 112 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000010 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 17: 281 bytes on wire (2248 bits), 281 bytes captured (2248 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 850, Ack: 1473, Len: 207 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000680 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 36 + Acknowledge: 36 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000011 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 70 + Progress: 70 + Progress/Maximum: 70/40000 + Payload + Length: 70 + Payload +HyperText Transfer Protocol 2 + +Frame 18: 239 bytes on wire (1912 bits), 239 bytes captured (1912 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1057, Ack: 1473, Len: 165 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000728 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 106 + Acknowledge: 36 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000012 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 28 + Progress: 98 + Progress/Maximum: 98/40000 + Payload + Length: 28 + Payload +HyperText Transfer Protocol 2 + +Frame 19: 321 bytes on wire (2568 bits), 321 bytes captured (2568 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1222, Ack: 1473, Len: 247 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x000007a8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 134 + Acknowledge: 36 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000013 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 110 + Progress: 208 + Progress/Maximum: 208/40000 + Payload + Length: 110 + Payload +HyperText Transfer Protocol 2 + +Frame 20: 224 bytes on wire (1792 bits), 224 bytes captured (1792 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1469, Ack: 1473, Len: 150 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000878 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 244 + Acknowledge: 36 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000014 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 13 + Progress: 221 + Progress/Maximum: 221/40000 + Payload + Length: 13 + Payload +HyperText Transfer Protocol 2 + +Frame 21: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1619, Ack: 1473, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x000008e8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 106 + Acknowledge: 106 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000015 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 22: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1756, Ack: 1473, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000948 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 134 + Acknowledge: 134 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000016 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 23: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1893, Ack: 1473, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x000009a8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 244 + Acknowledge: 244 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000017 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 24: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 2030, Ack: 1473, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000a08 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 257 + Acknowledge: 257 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000018 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/40000 + +Frame 25: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1473, Ack: 2167, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000a68 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 112 + Acknowledge: 112 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000019 + Authorization: 0x0000000000000000 + +Frame 26: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 2167, Ack: 1593, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x8ab62046 + Protocol Type: http + Worker: 0 + Offset: 0x00000ab8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 257 + Acknowledge: 257 + Maximum: 40000 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000001a + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeApplicationIT_shouldReceiveTopicConfigInfo.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeApplicationIT_shouldReceiveTopicConfigInfo.txt new file mode 100644 index 0000000000..108c7d855f --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeApplicationIT_shouldReceiveTopicConfigInfo.txt @@ -0,0 +1,295 @@ +Frame 1: 237 bytes on wire (1896 bits), 237 bytes captured (1896 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 163 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: DESCRIBE (32) + Topic: test + Length: 4 + Topic: test + Configs (1 items) + Length: 20 + Size: 1 + Config: cleanup.policy + Length: 14 + Config: cleanup.policy + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 163, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000078 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 237 bytes on wire (1896 bits), 237 bytes captured (1896 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 300, Len: 163 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000d8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: DESCRIBE (32) + Topic: test + Length: 4 + Topic: test + Configs (1 items) + Length: 20 + Size: 1 + Config: cleanup.policy + Length: 14 + Config: cleanup.policy + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 164, Ack: 300, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000150 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 249 bytes on wire (1992 bits), 249 bytes captured (1992 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 301, Ack: 300, Len: 175 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: -1 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: DESCRIBE (32) + Configs (1 items) + Length: 29 + Size: 1 + Config: cleanup.policy: compact + Name: cleanup.policy + Length: 14 + Name: cleanup.policy + Value: compact + Length: 7 + Value: compact + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 476, Ack: 300, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000238 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 300, Ack: 613, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000298 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + +Frame 8: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 613, Ack: 420, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002e8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeConfigsNetworkIT_shouldReceiveTopicConfigInfo.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeConfigsNetworkIT_shouldReceiveTopicConfigInfo.txt new file mode 100644 index 0000000000..8810131b7c --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaDescribeConfigsNetworkIT_shouldReceiveTopicConfigInfo.txt @@ -0,0 +1,332 @@ +Frame 1: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x084b20e1 + Protocol Type: kafka + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 2: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 128, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x084b20e1 + Protocol Type: kafka + Worker: 0 + Offset: 0x00000058 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 128, Ack: 129, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x084b20e1 + Protocol Type: kafka + Worker: 0 + Offset: 0x000000b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 265, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x084b20e1 + Protocol Type: kafka + Worker: 0 + Offset: 0x00000110 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 261 bytes on wire (2088 bits), 261 bytes captured (2088 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 265, Ack: 266, Len: 187 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x084b20e1 + Protocol Type: kafka + Worker: 0 + Offset: 0x00000170 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 50 + Progress: 50 + Progress/Maximum: 50/8192 + Payload + Length: 50 + Payload +Kafka (DescribeConfigs v0 Request) + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 452, Ack: 266, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x084b20e1 + Protocol Type: kafka + Worker: 0 + Offset: 0x00000200 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 50 + Acknowledge: 50 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 270 bytes on wire (2160 bits), 270 bytes captured (2160 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 589, Len: 196 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x084b20e1 + Protocol Type: kafka + Worker: 0 + Offset: 0x00000260 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 59 + Progress: 59 + Progress/Maximum: 59/8192 + Payload + Length: 59 + Payload +Kafka (DescribeConfigs v0 Response) + +Frame 8: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 462, Ack: 589, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x084b20e1 + Protocol Type: kafka + Worker: 0 + Offset: 0x000002f8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 59 + Acknowledge: 59 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 9: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 589, Ack: 599, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x084b20e1 + Protocol Type: kafka + Worker: 0 + Offset: 0x00000358 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 50 + Acknowledge: 50 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + +Frame 10: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 599, Ack: 709, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x084b20e1 + Protocol Type: kafka + Worker: 0 + Offset: 0x000003a8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 59 + Acknowledge: 59 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaFetchApplicationIT_shouldRequestPartitionOffset.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaFetchApplicationIT_shouldRequestPartitionOffset.txt new file mode 100644 index 0000000000..25efc52e0b --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaFetchApplicationIT_shouldRequestPartitionOffset.txt @@ -0,0 +1,503 @@ +Frame 1: 213 bytes on wire (1704 bits), 213 bytes captured (1704 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 139 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: META (3) + Topic: test + Length: 4 + Topic: test + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 139, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000060 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 213 bytes on wire (1704 bits), 213 bytes captured (1704 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 276, Len: 139 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000c0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: META (3) + Topic: test + Length: 4 + Topic: test + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 140, Ack: 276, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000120 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 232 bytes on wire (1856 bits), 232 bytes captured (1856 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 277, Ack: 276, Len: 158 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000180 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: -1 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: META (3) + Partitions (1 items) + Length: 12 + Size: 1 + Partition: 0 [177] + Partition ID: 0 + Leader ID: 177 + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 435, Ack: 276, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001f8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 254 bytes on wire (2032 bits), 254 bytes captured (2032 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 180 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000258 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Affinity: 0x00000000000000b1 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: FETCH (1) + Topic: test + Length: 4 + Topic: test + Partition: 0 [1] + Partition ID: 0 + Partition Offset: 1 + Stable Offset: -1 + Latest Offset: -1 + Metadata: + Length: -1 + Metadata: + Filters (0 items) + Length: 4 + Size: 0 + Evaluation: LAZY (0) + Isolation: READ_UNCOMMITTED (0) + Delta Type: NONE (0) + +Frame 8: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 180, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 9: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 276, Ack: 572, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000340 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + +Frame 10: 254 bytes on wire (2032 bits), 254 bytes captured (2032 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 317, Len: 180 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000390 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: FETCH (1) + Topic: test + Length: 4 + Topic: test + Partition: 0 [1] + Partition ID: 0 + Partition Offset: 1 + Stable Offset: 1 + Latest Offset: 1 + Metadata: + Length: -1 + Metadata: + Filters (0 items) + Length: 4 + Size: 0 + Evaluation: LAZY (0) + Isolation: READ_UNCOMMITTED (0) + Delta Type: NONE (0) + +Frame 11: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 181, Ack: 317, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000418 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 12: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 572, Ack: 396, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000478 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000c + Authorization: 0x0000000000000000 + +Frame 13: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 317, Ack: 318, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000004c8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000d + Authorization: 0x0000000000000000 + +Frame 14: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 318, Ack: 437, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000518 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000e + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaGroupApplicationIT_shouldHandleRebalanceSyncGroup.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaGroupApplicationIT_shouldHandleRebalanceSyncGroup.txt new file mode 100644 index 0000000000..e9b1d51f32 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaGroupApplicationIT_shouldHandleRebalanceSyncGroup.txt @@ -0,0 +1,545 @@ +Frame 1: 238 bytes on wire (1904 bits), 238 bytes captured (1904 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 164 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: GROUP (253) + Group ID: test + Length: 4 + Group ID: test + Protocol: highlander + Length: 10 + Protocol: highlander + Instance ID: + Length: -1 + Instance ID: + Host: + Length: -1 + Host: + Port: 0 + Timeout: 45000 + Metadata Length: 0 + Length (varint32): 01 + Length: 0 + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 164, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000078 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 262 bytes on wire (2096 bits), 262 bytes captured (2096 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 301, Len: 188 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000d8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: GROUP (253) + Group ID: test + Length: 4 + Group ID: test + Protocol: highlander + Length: 10 + Protocol: highlander + Instance ID: zilla + Length: 5 + Instance ID: zilla + Host: broker1.example.com + Length: 19 + Host: broker1.example.com + Port: 9092 + Timeout: 30000 + Metadata Length: 0 + Length (varint32): 01 + Length: 0 + +Frame 4: 260 bytes on wire (2080 bits), 260 bytes captured (2080 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 189, Ack: 301, Len: 186 +Zilla Frame + Frame Type ID: 0x00000005 + Frame Type: FLUSH + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000168 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Reserved: 0 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: GROUP (253) + Generation ID: 0 + Leader ID: memberId-1 + Length: 10 + Leader ID: memberId-1 + Member ID: memberId-1 + Length: 10 + Member ID: memberId-1 + Members (1 items) + Length: 17 + Size: 1 + Member: memberId-1 + Member ID: memberId-1 + Length: 10 + Member ID: memberId-1 + Metadata Length: 0 + Length (varint32): 01 + Length: 0 + +Frame 5: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 375, Ack: 301, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001f8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 301, Ack: 512, Len: 137 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000258 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: 0 + +Frame 7: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 438, Ack: 512, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002b8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 8: 260 bytes on wire (2080 bits), 260 bytes captured (2080 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 512, Ack: 575, Len: 186 +Zilla Frame + Frame Type ID: 0x00000005 + Frame Type: FLUSH + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000318 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Reserved: 0 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: GROUP (253) + Generation ID: 1 + Leader ID: memberId-1 + Length: 10 + Leader ID: memberId-1 + Member ID: memberId-1 + Length: 10 + Member ID: memberId-1 + Members (1 items) + Length: 17 + Size: 1 + Member: memberId-1 + Member ID: memberId-1 + Length: 10 + Member ID: memberId-1 + Metadata Length: 0 + Length (varint32): 01 + Length: 0 + +Frame 9: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 575, Ack: 698, Len: 137 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000003a8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: 0 + +Frame 10: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 712, Ack: 698, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000408 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 11: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 698, Ack: 849, Len: 137 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000468 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: 0 + +Frame 12: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 835, Ack: 849, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000004c8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000c + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 13: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 849, Ack: 972, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000528 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000d + Authorization: 0x0000000000000000 + +Frame 14: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 972, Ack: 969, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000578 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000e + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaInitProducerIdApplicationIT_shouldGenerateNewProducerId.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaInitProducerIdApplicationIT_shouldGenerateNewProducerId.txt new file mode 100644 index 0000000000..688786bbe7 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaInitProducerIdApplicationIT_shouldGenerateNewProducerId.txt @@ -0,0 +1,194 @@ +Frame 1: 217 bytes on wire (1736 bits), 217 bytes captured (1736 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 143 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: INIT_PRODUCER_ID (22) + Producer ID: 0xffffffffffffffff + Producer Epoch: 0xffff + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 143, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000068 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 217 bytes on wire (1736 bits), 217 bytes captured (1736 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 280, Len: 143 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000c8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: INIT_PRODUCER_ID (22) + Producer ID: 0x0000000000000001 + Producer Epoch: 0x0002 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 144, Ack: 280, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000130 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 280, Ack: 281, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000190 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + +Frame 6: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 281, Ack: 400, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaMergedApplicationIT_shouldFetchMergedFilterSync.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaMergedApplicationIT_shouldFetchMergedFilterSync.txt new file mode 100644 index 0000000000..4c91348e1e --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaMergedApplicationIT_shouldFetchMergedFilterSync.txt @@ -0,0 +1,336 @@ +Frame 1: 303 bytes on wire (2424 bits), 303 bytes captured (2424 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 229 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: MERGED (255) + Capabilities: FETCH_ONLY (2) + Topic: test + Length: 4 + Topic: test + Group ID: + Length: -1 + Group ID: + Consumer ID: + Length: -1 + Consumer ID: + Timeout: 0 + Partitions (2 items) + Length: 64 + Size: 2 + Partition: 0 [0] + Partition ID: 0 + Partition Offset: 0 + Stable Offset: -1 + Latest Offset: -1 + Metadata: + Length: -1 + Metadata: + Partition: 1 [0] + Partition ID: 1 + Partition Offset: 0 + Stable Offset: -1 + Latest Offset: -1 + Metadata: + Length: -1 + Metadata: + Filters (0 items) + Length: 4 + Size: 0 + Evaluation: LAZY (0) + Isolation: READ_COMMITTED (1) + Delta Type: NONE (0) + Ack Mode ID: -1 + Ack Mode: IN_SYNC_REPLICAS + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 229, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000c0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 303 bytes on wire (2424 bits), 303 bytes captured (2424 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 366, Len: 229 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000120 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: MERGED (255) + Capabilities: FETCH_ONLY (2) + Topic: test + Length: 4 + Topic: test + Group ID: + Length: -1 + Group ID: + Consumer ID: + Length: -1 + Consumer ID: + Timeout: 0 + Partitions (2 items) + Length: 64 + Size: 2 + Partition: 0 [0] + Partition ID: 0 + Partition Offset: 0 + Stable Offset: 2 + Latest Offset: 2 + Metadata: + Length: -1 + Metadata: + Partition: 1 [0] + Partition ID: 1 + Partition Offset: 0 + Stable Offset: 2 + Latest Offset: 2 + Metadata: + Length: -1 + Metadata: + Filters (0 items) + Length: 4 + Size: 0 + Evaluation: LAZY (0) + Isolation: READ_COMMITTED (1) + Delta Type: NONE (0) + Ack Mode ID: -1 + Ack Mode: IN_SYNC_REPLICAS + +Frame 4: 320 bytes on wire (2560 bits), 320 bytes captured (2560 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 230, Ack: 366, Len: 246 +Zilla Frame + Frame Type ID: 0x00000005 + Frame Type: FLUSH + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Reserved: 0 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: MERGED (255) + Merged API: FETCH (1) + Partition: -1 [-1] + Partition ID: -1 + Partition Offset: -1 + Stable Offset: -1 + Latest Offset: -1 + Metadata: + Length: -1 + Metadata: + Progress (2 items) + Length: 64 + Size: 2 + Progress: 0 [2] + Partition ID: 0 + Partition Offset: 2 + Stable Offset: 2 + Latest Offset: 2 + Metadata: + Length: -1 + Metadata: + Progress: 1 [2] + Partition ID: 1 + Partition Offset: 2 + Stable Offset: 2 + Latest Offset: 2 + Metadata: + Length: -1 + Metadata: + Capabilities: PRODUCE_AND_FETCH (3) + Filters (0 items) + Length: 4 + Size: 0 + Key: [KEY] + Length: 0 + Length (varint32): 01 + Length: 0 + +Frame 5: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 476, Ack: 366, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 16 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/16 + +Frame 6: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 366, Ack: 613, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000310 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + +Frame 7: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 613, Ack: 486, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000360 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 16 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaMetaApplicationIT_shouldReceiveTopicPartitionInfo.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaMetaApplicationIT_shouldReceiveTopicPartitionInfo.txt new file mode 100644 index 0000000000..5601c6e295 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaMetaApplicationIT_shouldReceiveTopicPartitionInfo.txt @@ -0,0 +1,282 @@ +Frame 1: 213 bytes on wire (1704 bits), 213 bytes captured (1704 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 139 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: META (3) + Topic: test + Length: 4 + Topic: test + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 139, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000060 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 213 bytes on wire (1704 bits), 213 bytes captured (1704 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 276, Len: 139 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000c0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: META (3) + Topic: test + Length: 4 + Topic: test + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 140, Ack: 276, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000120 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 240 bytes on wire (1920 bits), 240 bytes captured (1920 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 277, Ack: 276, Len: 166 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000180 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: -1 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: META (3) + Partitions (2 items) + Length: 20 + Size: 2 + Partition: 0 [1] + Partition ID: 0 + Leader ID: 1 + Partition: 1 [2] + Partition ID: 1 + Leader ID: 2 + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 443, Ack: 276, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000200 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 276, Ack: 580, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000260 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + +Frame 8: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 580, Ack: 396, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetCommitApplicationIT_shouldUpdateTopicPartitionOffset.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetCommitApplicationIT_shouldUpdateTopicPartitionOffset.txt new file mode 100644 index 0000000000..c91c3124f2 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetCommitApplicationIT_shouldUpdateTopicPartitionOffset.txt @@ -0,0 +1,289 @@ +Frame 1: 261 bytes on wire (2088 bits), 261 bytes captured (2088 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 187 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: OFFSET_COMMIT (8) + Group ID: client-1 + Length: 8 + Group ID: client-1 + Member ID: memberId-1 + Length: 10 + Member ID: memberId-1 + Instance ID: zilla + Length: 5 + Instance ID: zilla + Host: broker1.example.com + Length: 19 + Host: broker1.example.com + Port: 9092 + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 187, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000090 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 269 bytes on wire (2152 bits), 269 bytes captured (2152 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 324, Ack: 1, Len: 195 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000f0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: 0 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: OFFSET_COMMIT (8) + Topic: test + Length: 4 + Topic: test + Progress: 0 [2] + Partition ID: 0 + Partition Offset: 2 + Stable Offset: -1 + Latest Offset: -1 + Metadata: test-meta + Length: 9 + Metadata: test-meta + Generation ID: 0 + Leader Epoch: 0 + +Frame 4: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 519, Ack: 1, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000188 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + +Frame 5: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 639, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001d8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 6: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 776, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000238 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 7: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 776, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000290 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + +Frame 8: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 249, Ack: 776, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetFetchApplicationIT_shouldFetchTopicOffsetInfo.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetFetchApplicationIT_shouldFetchTopicOffsetInfo.txt new file mode 100644 index 0000000000..07fe17fa68 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaOffsetFetchApplicationIT_shouldFetchTopicOffsetInfo.txt @@ -0,0 +1,287 @@ +Frame 1: 260 bytes on wire (2080 bits), 260 bytes captured (2080 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 186 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: OFFSET_FETCH (9) + Group ID: client-1 + Length: 8 + Group ID: client-1 + Host: broker1.example.com + Length: 19 + Host: broker1.example.com + Port: 9092 + Topic: test + Length: 4 + Topic: test + Partitions (1 items) + Length: 8 + Size: 1 + Partition ID: 0 + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 186, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000090 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 323, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000f0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 323, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000148 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 251 bytes on wire (2008 bits), 251 bytes captured (2008 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 323, Len: 177 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001a8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: 0 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: OFFSET_FETCH (9) + Partition Offsets (1 items) + Length: 31 + Size: 1 + Partition Offset: 0 [2] + Partition ID: 0 + Partition Offset: 2 + Leader Epoch: 0 + Metadata: test-meta + Length: 9 + Metadata: test-meta + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 443, Ack: 323, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000230 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 323, Ack: 580, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000290 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + +Frame 8: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 580, Ack: 443, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaProduceApplicationIT_shouldSendMessageValueWithProducerId.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaProduceApplicationIT_shouldSendMessageValueWithProducerId.txt new file mode 100644 index 0000000000..4561cf2537 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/KafkaProduceApplicationIT_shouldSendMessageValueWithProducerId.txt @@ -0,0 +1,590 @@ +Frame 1: 213 bytes on wire (1704 bits), 213 bytes captured (1704 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 139 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: META (3) + Topic: test + Length: 4 + Topic: test + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 139, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000060 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 213 bytes on wire (1704 bits), 213 bytes captured (1704 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 276, Len: 139 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000c0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: META (3) + Topic: test + Length: 4 + Topic: test + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 140, Ack: 276, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000120 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 232 bytes on wire (1856 bits), 232 bytes captured (1856 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 277, Ack: 276, Len: 158 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000180 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: -1 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: META (3) + Partitions (1 items) + Length: 12 + Size: 1 + Partition: 0 [177] + Partition ID: 0 + Leader ID: 177 + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 435, Ack: 276, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001f8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 244 bytes on wire (1952 bits), 244 bytes captured (1952 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 170 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000258 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Affinity: 0x00000000000000b1 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: PRODUCE (0) + Transaction: + Length: -1 + Transaction: + Topic: test + Length: 4 + Topic: test + Partition: 0 [-1] + Partition ID: 0 + Partition Offset: -1 + Stable Offset: -1 + Latest Offset: -1 + Metadata: + Length: -1 + Metadata: + +Frame 8: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 170, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002d8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 9: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 276, Ack: 572, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000338 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + +Frame 10: 244 bytes on wire (1952 bits), 244 bytes captured (1952 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 307, Len: 170 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000388 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: PRODUCE (0) + Transaction: + Length: -1 + Transaction: + Topic: test + Length: 4 + Topic: test + Partition: 0 [-1] + Partition ID: 0 + Partition Offset: -1 + Stable Offset: -1 + Latest Offset: -1 + Metadata: + Length: -1 + Metadata: + +Frame 11: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 171, Ack: 307, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000408 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 12: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 572, Ack: 396, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000468 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000c + Authorization: 0x0000000000000000 + +Frame 13: 269 bytes on wire (2152 bits), 269 bytes captured (2152 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 307, Ack: 308, Len: 195 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000004b8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000d + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 12 + Progress: 12 + Progress/Maximum: 12/8192 + Payload + Length: 12 + Payload + Extension: kafka + Stream Type ID: 0xe1204b08 + Stream Type: kafka + API: PRODUCE (0) + Deferred: 0 + Timestamp: 0x0000000000000000 + Producer ID: 0x0000000000000008 + Producer Epoch: 0x0001 + Sequence: 0 + CRC32C: 0x00000000 + Ack Mode ID: -1 + Ack Mode: IN_SYNC_REPLICAS + Key: [KEY] + Length: 0 + Length (varint32): 01 + Length: 0 + Headers (0 items) + Length: 4 + Size: 0 + +Frame 14: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 502, Ack: 308, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000550 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 12 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000e + Authorization: 0x0000000000000000 + +Frame 15: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 622, Ack: 308, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000005a0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 12 + Acknowledge: 12 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000f + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 16: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 308, Ack: 759, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000600 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000010 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishApplicationIT_shouldSendOneMessage.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishApplicationIT_shouldSendOneMessage.txt new file mode 100644 index 0000000000..dc9ddd9f38 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishApplicationIT_shouldSendOneMessage.txt @@ -0,0 +1,585 @@ +Frame 1: 230 bytes on wire (1840 bits), 230 bytes captured (1840 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 156 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: mqtt + Stream Type ID: 0x761ad4d0 + Stream Type: mqtt + Kind: SESSION (2) + Flags: 0x02 + .... ..1. = CLEAN_START: Set (1) + .... .0.. = WILL: Not set (0) + Expiry: 0 + Subscribe QoS Maximum: 0 + Publish QoS Maximum: 0 + Packet Size Maximum: 0 + Capabilities: 0x00 + .... ...0 = RETAIN: Not set (0) + .... ..0. = WILDCARD: Not set (0) + .... .0.. = SUBSCRIPTION_IDS: Not set (0) + .... 0... = SHARED_SUBSCRIPTIONS: Not set (0) + Client ID: client + Length: 6 + Client ID: client + +Frame 2: 230 bytes on wire (1840 bits), 230 bytes captured (1840 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 156, Len: 156 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000070 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: mqtt + Stream Type ID: 0x761ad4d0 + Stream Type: mqtt + Kind: SESSION (2) + Flags: 0x02 + .... ..1. = CLEAN_START: Set (1) + .... .0.. = WILL: Not set (0) + Expiry: 0 + Subscribe QoS Maximum: 2 + Publish QoS Maximum: 2 + Packet Size Maximum: 66560 + Capabilities: 0x0f + .... ...1 = RETAIN: Set (1) + .... ..1. = WILDCARD: Set (1) + .... .1.. = SUBSCRIPTION_IDS: Set (1) + .... 1... = SHARED_SUBSCRIPTIONS: Set (1) + Client ID: client + Length: 6 + Client ID: client + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 156, Ack: 157, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 157, Ack: 293, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000140 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 294, Ack: 293, Len: 137 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001a0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: 0 + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 431, Ack: 293, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000200 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 293, Ack: 568, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000260 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + +Frame 8: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 568, Ack: 413, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + +Frame 9: 229 bytes on wire (1832 bits), 229 bytes captured (1832 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 155 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000300 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: mqtt + Stream Type ID: 0x761ad4d0 + Stream Type: mqtt + Kind: PUBLISH (0) + Client ID: client + Length: 6 + Client ID: client + Topic: sensor/one + Length: 10 + Topic: sensor/one + Flags: 0x00 + .... ...0 = RETAIN: Not set (0) + QoS: AT_MOST_ONCE (0) + +Frame 10: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 155, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000370 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 11: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 155, Ack: 129, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000003c8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 12: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 292, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000428 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000c + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 13: 273 bytes on wire (2184 bits), 273 bytes captured (2184 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 292, Ack: 266, Len: 199 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000488 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000d + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 7 + Progress: 7 + Progress/Maximum: 7/8192 + Payload + Length: 7 + Payload + Extension: mqtt + Stream Type ID: 0x761ad4d0 + Stream Type: mqtt + Kind: PUBLISH (0) + Deferred: 0 + QoS: AT_MOST_ONCE (0) + Flags: 0x00 + .... ...0 = RETAIN: Not set (0) + Packet ID: 0x0000 + Expiry Interval: 15 + Content Type: message + Length: 7 + Content Type: message + Payload Format: TEXT (1) + Response Topic: sensor/one + Length: 10 + Response Topic: sensor/one + Correlation + Length: 4 + Correlation: 696e666f + Properties (0 items) + Length: 4 + Size: 0 + +Frame 14: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 491, Ack: 266, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000528 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 7 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000e + Authorization: 0x0000000000000000 + +Frame 15: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 611, Ack: 266, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000578 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 7 + Acknowledge: 7 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000f + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 16: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 748, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000005d8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000010 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishNetworkIT_shouldSendOneMessage.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishNetworkIT_shouldSendOneMessage.txt new file mode 100644 index 0000000000..792be3f43e --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttPublishNetworkIT_shouldSendOneMessage.txt @@ -0,0 +1,407 @@ +Frame 1: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 2: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 128, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x00000058 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 128, Ack: 129, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x000000b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 265, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x00000110 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 237 bytes on wire (1896 bits), 237 bytes captured (1896 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 265, Ack: 266, Len: 163 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x00000170 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 26 + Progress: 26 + Progress/Maximum: 26/8192 + Payload + Length: 26 + Payload +MQ Telemetry Transport Protocol, Connect Command + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 428, Ack: 266, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x000001e8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 26 + Acknowledge: 26 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 216 bytes on wire (1728 bits), 216 bytes captured (1728 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 565, Len: 142 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x00000248 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 5 + Progress: 5 + Progress/Maximum: 5/8192 + Payload + Length: 5 + Payload +MQ Telemetry Transport Protocol, Connect Ack + +Frame 8: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 408, Ack: 565, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x000002b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 5 + Acknowledge: 5 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 9: 270 bytes on wire (2160 bits), 270 bytes captured (2160 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 565, Ack: 545, Len: 196 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x00000310 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 26 + Acknowledge: 26 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 59 + Progress: 59 + Progress/Maximum: 59/8192 + Payload + Length: 59 + Payload +MQ Telemetry Transport Protocol, Publish Message + +Frame 10: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 761, Ack: 545, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x000003a8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 85 + Acknowledge: 26 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + +Frame 11: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 881, Ack: 545, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x000003f8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 85 + Acknowledge: 85 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 12: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 545, Ack: 1018, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0xd0d41a76 + Protocol Type: mqtt + Worker: 0 + Offset: 0x00000458 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 5 + Acknowledge: 5 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000c + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttSubscribeApplicationIT_shouldReceiveOneMessage.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttSubscribeApplicationIT_shouldReceiveOneMessage.txt new file mode 100644 index 0000000000..d19231b7ce --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/MqttSubscribeApplicationIT_shouldReceiveOneMessage.txt @@ -0,0 +1,757 @@ +Frame 1: 230 bytes on wire (1840 bits), 230 bytes captured (1840 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 156 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: mqtt + Stream Type ID: 0x761ad4d0 + Stream Type: mqtt + Kind: SESSION (2) + Flags: 0x02 + .... ..1. = CLEAN_START: Set (1) + .... .0.. = WILL: Not set (0) + Expiry: 0 + Subscribe QoS Maximum: 0 + Publish QoS Maximum: 0 + Packet Size Maximum: 0 + Capabilities: 0x00 + .... ...0 = RETAIN: Not set (0) + .... ..0. = WILDCARD: Not set (0) + .... .0.. = SUBSCRIPTION_IDS: Not set (0) + .... 0... = SHARED_SUBSCRIPTIONS: Not set (0) + Client ID: client + Length: 6 + Client ID: client + +Frame 2: 230 bytes on wire (1840 bits), 230 bytes captured (1840 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 156, Len: 156 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000070 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: mqtt + Stream Type ID: 0x761ad4d0 + Stream Type: mqtt + Kind: SESSION (2) + Flags: 0x02 + .... ..1. = CLEAN_START: Set (1) + .... .0.. = WILL: Not set (0) + Expiry: 0 + Subscribe QoS Maximum: 2 + Publish QoS Maximum: 2 + Packet Size Maximum: 66560 + Capabilities: 0x0f + .... ...1 = RETAIN: Set (1) + .... ..1. = WILDCARD: Set (1) + .... .1.. = SUBSCRIPTION_IDS: Set (1) + .... 1... = SHARED_SUBSCRIPTIONS: Set (1) + Client ID: client + Length: 6 + Client ID: client + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 156, Ack: 157, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 157, Ack: 293, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000140 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 294, Ack: 293, Len: 137 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001a0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 0 + Progress: 0 + Progress/Maximum: 0/8192 + Payload + Length: 0 + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 431, Ack: 293, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000200 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 249 bytes on wire (1992 bits), 249 bytes captured (1992 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 293, Ack: 568, Len: 175 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000260 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 28 + Progress: 28 + Progress/Maximum: 28/8192 + Payload + Length: 28 + Payload + Extension: mqtt + Stream Type ID: 0x761ad4d0 + Stream Type: mqtt + Kind: SESSION (2) + Deferred: 0 + Data Kind: STATE (0x00) + +Frame 8: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 468, Ack: 568, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002e8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 28 + Acknowledge: 28 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 9: 239 bytes on wire (1912 bits), 239 bytes captured (1912 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 568, Ack: 605, Len: 165 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000348 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 28 + Progress: 28 + Progress/Maximum: 28/8192 + Payload + Length: 28 + Payload + +Frame 10: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 733, Ack: 605, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000003c8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 28 + Acknowledge: 28 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 11: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 605, Ack: 870, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000428 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 28 + Acknowledge: 28 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + +Frame 12: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 870, Ack: 725, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000478 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 28 + Acknowledge: 28 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000c + Authorization: 0x0000000000000000 + +Frame 13: 243 bytes on wire (1944 bits), 243 bytes captured (1944 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 169 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000004c8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000d + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: mqtt + Stream Type ID: 0x761ad4d0 + Stream Type: mqtt + Kind: SUBSCRIBE (1) + Client ID: client + Length: 6 + Client ID: client + QoS: AT_MOST_ONCE (0) + Topic Filters (1 items) + Length: 23 + Size: 1 + Topic Filter: sensor/one + Subscription ID: 0x00000001 + QoS: AT_MOST_ONCE (0) + Flags: 0x01 + .... ...1 = SEND_RETAINED: Set (1) + .... ..0. = RETAIN_AS_PUBLISHED: Not set (0) + .... .0.. = NO_LOCAL: Not set (0) + .... 0... = RETAIN: Not set (0) + Reason Code: 0 + Pattern: sensor/one + Length: 10 + Pattern: sensor/one + +Frame 14: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 169, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000548 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000e + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 15: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 169, Ack: 129, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000005a0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000f + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 16: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 306, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000600 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000010 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 17: 273 bytes on wire (2184 bits), 273 bytes captured (2184 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 306, Len: 199 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000660 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000011 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 7 + Progress: 7 + Progress/Maximum: 7/8192 + Payload + Length: 7 + Payload + Extension: mqtt + Stream Type ID: 0x761ad4d0 + Stream Type: mqtt + Kind: SUBSCRIBE (1) + Deferred: 0 + Topic: sensor/one + Length: 10 + Topic: sensor/one + Packet ID: 0x0000 + QoS: AT_MOST_ONCE (0) + Flags: 0x00 + .... ...0 = RETAIN: Not set (0) + Subscription IDs (1 items) + Length: 5 + Size: 1 + Subscription ID: 1 + Subscription ID (varuint32): 01 + Subscription ID: 1 + Expiry Interval: -1 + Content Type: + Length: -1 + Content Type: + Payload Format: TEXT (1) + Response Topic: + Length: -1 + Response Topic: + Correlation + Length: -1 + Properties (0 items) + Length: 4 + Size: 0 + +Frame 18: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 465, Ack: 306, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000700 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 7 + Acknowledge: 7 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000012 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 19: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:4, Dst: fe80::3f3f:0:0:5 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 306, Ack: 602, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000760 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000005 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000013 + Authorization: 0x0000000000000000 + +Frame 20: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:5, Dst: fe80::3f3f:0:0:4 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 602, Ack: 426, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000007b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000004 + Initial ID: 0x3f3f000000000005 + Reply ID: 0x3f3f000000000004 + Direction: REP + Sequence: 7 + Acknowledge: 7 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000014 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/ProxyApplicationIT_shouldConnectLocalClientSendsBeginExt.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/ProxyApplicationIT_shouldConnectLocalClientSendsBeginExt.txt new file mode 100644 index 0000000000..fb0c0bb0a1 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/ProxyApplicationIT_shouldConnectLocalClientSendsBeginExt.txt @@ -0,0 +1,195 @@ +Frame 1: 228 bytes on wire (1824 bits), 228 bytes captured (1824 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 154 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: proxy + Stream Type ID: 0x50a8ce8d + Stream Type: proxy + Address: INET4 + Family: INET4 (1) + Protocol: STREAM (0) + Source: 192.168.0.1 + Source Port: 32768 + Destination: 192.168.0.254 + Destination Port: 443 + Info (0 items) + Length: 4 + Size: 0 + +Frame 2: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 154, Ack: 1, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000070 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 3: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 291, Ack: 1, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000d0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + +Frame 4: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 411, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000120 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 5: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 411, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000178 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 249, Ack: 411, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001c8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/SseDataApplicationIT_shouldReceiveNonEmptyData.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/SseDataApplicationIT_shouldReceiveNonEmptyData.txt new file mode 100644 index 0000000000..28fc62e605 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/SseDataApplicationIT_shouldReceiveNonEmptyData.txt @@ -0,0 +1,281 @@ +Frame 1: 247 bytes on wire (1976 bits), 247 bytes captured (1976 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 173 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: sse + Stream Type ID: 0x2e9e4003 + Stream Type: sse + Scheme: http + Length: 4 + Scheme: http + Authority: localhost:8080 + Length: 14 + Authority: localhost:8080 + Path: /events/a8b7c6d5 + Length: 16 + Path: /events/a8b7c6d5 + Last ID: + Length: -1 + Last ID: + +Frame 2: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 173, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000088 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 173, Ack: 129, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 310, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000140 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 237 bytes on wire (1896 bits), 237 bytes captured (1896 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 310, Len: 163 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001a0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 12 + Progress: 12 + Progress/Maximum: 12/8192 + Payload + Length: 12 + Payload + Extension: sse + Stream Type ID: 0x2e9e4003 + Stream Type: sse + Timestamp: 0x00000161e350a495 + ID: + Length: -1 + ID: + Type: + Length: -1 + Type: + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 429, Ack: 310, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000218 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 12 + Acknowledge: 12 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 7: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 310, Ack: 566, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000278 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + +Frame 8: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 566, Ack: 430, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000002c8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 12 + Acknowledge: 12 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/TlsApplicationIT_shouldEstablishConnection.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/TlsApplicationIT_shouldEstablishConnection.txt new file mode 100644 index 0000000000..4bda9d4085 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/TlsApplicationIT_shouldEstablishConnection.txt @@ -0,0 +1,194 @@ +Frame 1: 227 bytes on wire (1816 bits), 227 bytes captured (1816 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 153 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: proxy + Stream Type ID: 0x50a8ce8d + Stream Type: proxy + Address: NONE + Family: NONE (4) + Info (1 items) + Length: 16 + Size: 1 + Info: AUTHORITY: localhost + Type: AUTHORITY (0x02) + Length: 9 + Value: localhost + +Frame 2: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 153, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000070 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 153, Ack: 129, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000c8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 290, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000128 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 5: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 290, Ack: 266, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000188 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + +Frame 6: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 410, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001d8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/TlsNetworkIT_shouldEstablishConnection.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/TlsNetworkIT_shouldEstablishConnection.txt new file mode 100644 index 0000000000..3d03b419b8 --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/TlsNetworkIT_shouldEstablishConnection.txt @@ -0,0 +1,754 @@ +Frame 1: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 2: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 128, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000058 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 128, Ack: 129, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x000000b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 265, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000110 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 5: 693 bytes on wire (5544 bits), 693 bytes captured (5544 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 265, Ack: 266, Len: 619 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000170 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 482 + Progress: 482 + Progress/Maximum: 482/65536 + Payload + Length: 482 + Payload +Transport Layer Security + +Frame 6: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 884, Ack: 266, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x000003b0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 482 + Acknowledge: 482 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 7: 338 bytes on wire (2704 bits), 338 bytes captured (2704 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 1021, Len: 264 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000410 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 127 + Progress: 127 + Progress/Maximum: 127/65536 + Payload + Length: 127 + Payload +Transport Layer Security + +Frame 8: 217 bytes on wire (1736 bits), 217 bytes captured (1736 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 530, Ack: 1021, Len: 143 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x000004f0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 127 + Acknowledge: 0 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000008 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 6 + Progress: 133 + Progress/Maximum: 133/65536 + Payload + Length: 6 + Payload +Transport Layer Security + +Frame 9: 2433 bytes on wire (19464 bits), 2433 bytes captured (19464 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 673, Ack: 1021, Len: 2359 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000558 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 133 + Acknowledge: 0 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000009 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 2222 + Progress: 2355 + Progress/Maximum: 2355/65536 + Payload + Length: 2222 + Payload +Transport Layer Security + +Frame 10: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 3032, Ack: 1021, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000e68 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 127 + Acknowledge: 127 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000a + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 11: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 3169, Ack: 1021, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000ec8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 133 + Acknowledge: 133 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000b + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 12: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 3306, Ack: 1021, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000f28 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 2355 + Acknowledge: 2355 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000c + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 13: 217 bytes on wire (1736 bits), 217 bytes captured (1736 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1021, Ack: 3443, Len: 143 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000f88 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 482 + Acknowledge: 482 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000d + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 6 + Progress: 6 + Progress/Maximum: 6/65536 + Payload + Length: 6 + Payload +Transport Layer Security + +Frame 14: 301 bytes on wire (2408 bits), 301 bytes captured (2408 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1164, Ack: 3443, Len: 227 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00000ff0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 488 + Acknowledge: 482 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000e + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 90 + Progress: 96 + Progress/Maximum: 96/65536 + Payload + Length: 90 + Payload +Transport Layer Security + +Frame 15: 251 bytes on wire (2008 bits), 251 bytes captured (2008 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1391, Ack: 3443, Len: 177 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x000010a8 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 578 + Acknowledge: 482 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x800000000000000f + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 40 + Progress: 136 + Progress/Maximum: 136/65536 + Payload + Length: 40 + Payload +Transport Layer Security + +Frame 16: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1568, Ack: 3443, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00001130 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 488 + Acknowledge: 488 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000010 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 17: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1705, Ack: 3443, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00001190 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 578 + Acknowledge: 578 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000011 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 18: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 1842, Ack: 3443, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x000011f0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 618 + Acknowledge: 618 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000012 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + +Frame 19: 2354 bytes on wire (18832 bits), 2354 bytes captured (18832 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 3443, Ack: 1979, Len: 2280 +Zilla Frame + Frame Type ID: 0x00000002 + Frame Type: DATA + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00001250 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 2355 + Acknowledge: 2355 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000013 + Authorization: 0x0000000000000000 + Flags: 0x03 + .... ...1 = FIN: Set (1) + .... ..1. = INIT: Set (1) + .... .0.. = INCOMPLETE: Not set (0) + .... 0... = SKIP: Not set (0) + Budget ID: 0x0000000000000000 + Reserved: 2143 + Progress: 2143 + Progress/Maximum: 2143/65536 + Payload + Length: 2143 + Payload +Transport Layer Security + +Frame 20: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 5723, Ack: 1979, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00001b10 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 4498 + Acknowledge: 2355 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000014 + Authorization: 0x0000000000000000 + +Frame 21: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 5843, Ack: 1979, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x99f321bc + Protocol Type: tls + Worker: 0 + Offset: 0x00001b60 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: net0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: net0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 4498 + Acknowledge: 4498 + Maximum: 65536 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000015 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/65536 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/WsAdvisoryApplicationIT_shouldReceiveClientSentChallenge.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/WsAdvisoryApplicationIT_shouldReceiveClientSentChallenge.txt new file mode 100644 index 0000000000..36bf8052ea --- /dev/null +++ b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/WsAdvisoryApplicationIT_shouldReceiveClientSentChallenge.txt @@ -0,0 +1,225 @@ +Frame 1: 233 bytes on wire (1864 bits), 233 bytes captured (1864 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 159 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000000 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000001 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + Extension: ws + Stream Type ID: 0xe9cd9d56 + Stream Type: ws + Protocol: + Length: -1 + Protocol: + Scheme: http + Length: 4 + Scheme: http + Authority: localhost:8080 + Length: 14 + Authority: localhost:8080 + Path: /echo + Length: 5 + Path: /echo + +Frame 2: 202 bytes on wire (1616 bits), 202 bytes captured (1616 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 1, Ack: 159, Len: 128 +Zilla Frame + Frame Type ID: 0x00000001 + Frame Type: BEGIN + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000078 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 0 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000002 + Authorization: 0x0000000000000000 + Affinity: 0x0000000000000000 + +Frame 3: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 159, Ack: 129, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000000d0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000003 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 4: 211 bytes on wire (1688 bits), 211 bytes captured (1688 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 129, Ack: 296, Len: 137 +Zilla Frame + Frame Type ID: 0x40000002 + Frame Type: WINDOW + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000130 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000004 + Authorization: 0x0000000000000000 + Budget ID: 0x0000000000000000 + Padding: 0 + Minimum: 0 + Capabilities: 0x00 + Progress: 0 + Progress/Maximum: 0/8192 + +Frame 5: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 266, Ack: 296, Len: 120 +Zilla Frame + Frame Type ID: 0x40000004 + Frame Type: CHALLENGE + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000190 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000005 + Authorization: 0x0000000000000000 + +Frame 6: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:2, Dst: fe80::3f3f:0:0:3 +Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 296, Ack: 386, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x000001e0 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000003 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: INI + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000006 + Authorization: 0x0000000000000000 + +Frame 7: 194 bytes on wire (1552 bits), 194 bytes captured (1552 bits) +Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) +Internet Protocol Version 6, Src: fe80::3f3f:0:0:3, Dst: fe80::3f3f:0:0:2 +Transmission Control Protocol, Src Port: 7114, Dst Port: 0, Seq: 386, Ack: 416, Len: 120 +Zilla Frame + Frame Type ID: 0x00000003 + Frame Type: END + Protocol Type ID: 0x00000000 + Protocol Type: + Worker: 0 + Offset: 0x00000230 + Origin ID: 0x0000000100000002 + Origin Namespace: test + Origin Binding: app0 + Routed ID: 0x0000000100000002 + Routed Namespace: test + Routed Binding: app0 + Stream ID: 0x3f3f000000000002 + Initial ID: 0x3f3f000000000003 + Reply ID: 0x3f3f000000000002 + Direction: REP + Sequence: 0 + Acknowledge: 0 + Maximum: 8192 + Timestamp: 0x0000000000000000 + Trace ID: 0x8000000000000007 + Authorization: 0x0000000000000000 + diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/bindings b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/bindings deleted file mode 100644 index 2a01b85f7526508c9ed0f6db390e9551733f2e73..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 400 zcmZ{gSqgwK3`7eqAnsbXU(x$t(J9P;2{ce1GkH)*8$xLCRx*-+nGPv=8|gjuJ@-Y% zQ$KLOlNAY=8IjVzC3%p5nF;Cdoy$=DO+BTKfE{#dihHBy1u6u1 zM`hyO6GHUrve9$K1OxCdA_duPVmZie&N+hNr)sEo98^V)>mFI$?NBl2+~@Z{`=>v- zVe8j=Ui;ZY3x9a_{LWX8{_WrY(PK{^i(=Rw`TXH0|LobHUH8p_&5>kEv3L$ykY2{l zAicQ$5L)UrDoJiudYvD*tyjj<-jU=;Y9K~!1_pa;fm78ei*D`e!#PN3sZY?Ni9UaT z#4+%%Z^r(Fo@XOEAA~T@b%I}>7}t2@I)0k?n(=-?^LtU}pWY(Gfa>1N7kKgmX;VC! zHS3p}&wuOu!qq|yuECG``|URRz0N@ZyrFaV!$Lqs2~BnbOZ|fQ89)BD=JTe`KM7`6 zDRzPOehzIkg)%w+Nz0tc23vK5jYiqlCzAV8BgxzMj*N{=PS)2ZQv1ffCj+)7;Y}3V z)nnT_^l-$R-w+PcZ^dW6?_lwemN_vuSIkFxgu7f>ER?d9)sC3BYU0G1u^y3km%MV( zO?&a7uGu5U9#4*p$A@DQ9lxnFoh>eUrTC7Xa&{r_R+dX%d}s8uxBAB$&>x{Ap_Lya z;y2XmCFvYeJHEQK%Z$DdQ*dIte%!9qu#P#$GwLkovu6_J!g49?Y5FUdNm&`MT*<=6 z*+TxxNs_xy9eWq$cKvsa?%!%0W3?fY)X!)+{&m63ea*5VyH?k1G+Y-FNX)yY%IQUK z$%~1_N~PE}wd5htGf{ExJ+mECMYpopDMlB0w$(g8iySI8t$Rk+1x;7K4_~KohQ{o} zm!rp*!ISak_lsF$gZ7Ev@#&$f4HPG4P=Gcpx0bzLXVF4NMQp7ent;RX7 zx;DjlgB;RO&V7pbFwVXZ>)jyn|Odhf|d>lEqoOa|6>%PWqx+=}-67F1~ zRPizzc@jD1$+Vw;EC1cpf`5l7d1bF6@AaI2T(h{IaLr(D&PpgY!48eF(eQad@Va6) z!As)Ppb3&|&X`R?f!L{$8<*RebIX;(^r?xHcI>{{B0p*rngIdho(?d?k!&Vb!Q%wo zmv%FB{Bm2_eT(jE#OSJMkjqQDiqB)m?ir#6rrV|Nc|_7`Wrb&tPatvSZb$yDpeOj{ zQ%G;Q>|x>0B(f?}@fc5zE7xeo5!VXl=FEm-6MRHtY&3ih6!Wn6#CW#quivVY6P@Z< zWs_^p+D$@%&`Xn5xAn-K10RlOJNDkDmGRpfH3$<&RDfjw?F*9A%D&yQXS44c3$-+7SQMLJOk=nQ)I-!D7%Mbvdo(J}g8SpqXzEK>J(~EtCvF%l-t?d6 z-#Kui?+aJ&x$wguzww2kCr-Wg?*F9XUpv>g@47c${^cE0@1A~Saq_|oN4_$;ZRiI- zo;#Jh>y_u9+`bijM#OC*5{=q7W zz}8wUhIrfF!<`(p}wFEY*x!rJ;Ny82&g z%epzgnRw-1yq13_G$X5?98az_`|o?;sMc}`Rq8v8ME*R(Fz5PUgFU*zMkAjk_K0*Y z%V+!9OoylxirKW3W0M!R2?PH2jmdL3&KHrGw`1R=MIJ)G2Gw{_S$c$nd!SG%c{%wMi1UMMe@x(kTe4F;?&g-gWCv># zsV-HWNXh!-q^?hDW&Z~Kg6xa~Z-c$Mq24T_)^BITnUNQPMmzCfyQQ66E9jv{J1JR+ zSCH7|A1}tG4fg2<8x4oWsf$PF2oSLvw;q89MisA=Pb6oEjba8EOp0^H>8rz-)u2Yh zd1up`cGzG_H>_9hh+S_EA%?%EQ;G*}XP^!<{#hliMnk=St~$2m?>iJDxmM_+%%b&% z_~%Di&kqhRR(81}3}L7l3|#0pKmT^*E3cp1#s#n|VDd!P2r4=n9`FT~fAWZ*YBG}7 zuXn85;7;98Zyr%?+dCs7h(i_N@BifIzldCoN_%r>oo0%&;7qsr?KC#{-y8A0%K)j5_ks=ZsxXLFcC34N$|66kj2-=$csEni$SBoDikFX!g~-kF*i zt5(F*XhQR}&3^y$%-2A8w?#f}9u#~khc_b+dh=chPu{#;oml1EvVM4Pjvjt_+_!Bo zts87KlpBd~ABn)0!IxoC-72PzLpHfPH1D8nzecu{+ex_&BvbA{liVlJ8bNBu-WiMB zXuTplT*~{A+E?Q^)s^vvMDDGT>UBccz-7zl?TkSu#3M)@NH+U}=GOt$wfbCz zeEcBCd}c^|6%8aGK;n|Y<&?R3$be!K9Ml*aO$_b7?iLHB!g3MEvP~k5L-XiGUm6^=e$=fFeuy&Tu^oT?p6>70 zCtAl>URF-K^QYao@m8D<+2cibHCJ#m(x)68cA}s75MUCC!A^xX*LyjUoQT?(syrQW=}aeN8fck7{BnD+?`it5C3QNg%Rx1-M? z@(1|!p$;#>84ZCbDTVkV@}T(oh;9$c4r`>1hVp(>i~nv>EEOt+bRoA%Wb@^Ui$xtX z0Z&r#4U;jtcgyhj!Q(-ys~hnF*>D6NoTt$rV=aJ%3{KV zZSTtYuYU9URl;%QIqn-lYl7>DOF4H%uf1<=tK8JK4}W6h||w*Kn=={Y%{2oL8U&0 zzH%SvMEB@bi*hcM6UiG5zF&1t3SCHgy{1mv5=Ow$0G$w|6VOo1=n!-aKh*m5~7o2cY==C2L6S*!_U& zYCgZywOU3gm!hrh9_&|VLdvEOrZ28TXB@t60U15u*Vi@%AQcbt2jHiXajTlt3n6uW z!9j1q%f#osN_w&B40Fjzqle*WRy^u%My`2GrqN2Bw;<70LNnD?U=2UhdbnE>gPPOJ z;pLOSj0_v*wXB$FE#A{4?fB^!`Vd9k$JxP#rnr;T?9mJ- zG-^+Clf+Ps?X>`sIGdbQ3ppn>|CVyjYoZ~QpF$R7kBtX=t;Zg-Jlgp4nWGKXV~63- z`*F~E*-C#i{(c(9Ru!&6$*cnvw`ulAuSYvO(0N?+dXZj6g^R+XKGdMd=U+koodn(n zAJ+{w8pca^hq}La>Qirb_3EPTEoN5RlIi z1ZsQ=^Yi$k2G{bXrEH~Xpt|uk8XwqR4f21`^WE$|Caeg&#?!`wB3z4{hVkS8sPV*i?dei>&Z~b!7Ehv?^d0gK4eDNQ@-CLr?>g~r zlhtuurDxtk3i6A2SApgxn9~>=4Siv*s|+QxW}0=Omd~J--s)u!q>bH0+3`=1g6z1H zjTT62{Ce!*)To`RYZj;yX9%S?+QG}xMPO;6e|@pZ1gYHWnEPoO;(;?y#e`C^Hwx6mRdWXGlMP`^SlrP zoRt|>2p$&M_AKd;{Nr-B>KXW}*;n6V`H85j*impaY2U^2s zMKa^nkAFN%z@PrE?{+7|Igkg%qhB}4SN~*n-ik*0wDo{e$12-2O7!OAVP~CJ~gfi@HeE4APns-TuQ{M z#Xr+*w7`|rGOx}Eu7Q07_J88&meGv0Ye<{H}$f4Y$1A7k?DK~!e4SNd;2rTFkC z^g!r=&;y|dLJx!<2t5#bAoM`!fzSh?2SN{o9tb@UdLZ;b=z-7!p$9?_gdPYz5PBf= zKs4mB0(#MXhclv;@$r@CuI3=zjnKSx)c zl|S3)ZeyX(Jmh+2ob#wP>~d{$?JKV{XJxwk-qxqDod4Bg>iNEN%0jEp=dRj~oO`b! zkII+B*x#!2x$R64AV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5;&B?UI! KlCOLF-vwUlJPA_( diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/data2 b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/data2 deleted file mode 100644 index 1464e62672b72c15daf813b298528eeb6769fb2e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33536 zcmeIuyA8rH5CG7N0SSaC*oXlrDJd9-6_^G#gEO%aN=27~can4d-8p)fh*(4%GW{Gw zyV-K-g~N56m0R}A@ys~oR=u~)vB|M(d6hY$d}`mz_UW7XUp4wNzH5$oP|v4*m$f4M z-dok9<@0{LUr(of>z*J$fB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009DX O3ap1YU-$OE3%mf_2nl`w diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/labels b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/labels deleted file mode 100644 index 3304ee936c..0000000000 --- a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/engine/labels +++ /dev/null @@ -1,38 +0,0 @@ -filesystem -grpc -http -kafka -proxy -mqtt -sse -ws -example -my_servers -north_tcp_server -north_tls_server -north_http_server -north_http_kafka_mapping -north_kafka_cache_client -south_kafka_cache_server -south_kafka_client -south_tcp_client -tcp -server -tls -http-kafka -cache_client -cache_server -client -north_grpc_server -north_grpc_kafka_mapping -north_sse_server -south_sse_client -north_ws_server -north_echo_server -east_http_filesystem_mapping -east_filesystem_server -north_mqtt_server -north_mqtt_kafka_mapping -amqp -north_amqp_server -north_fan_server diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/expected_dump.pcap b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/expected_dump.pcap deleted file mode 100644 index 7d791d8a0202903f88ca403613d94c1e6c3a903c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 38201 zcmdsA3y@q@nLg)s&yzeR5Ax#GlLrZpo=o>7BpEPFCPV`A81f>EkEGMnnQ1dK-I?x? z1Xy6j#VD?el-5RS)od-hrqr_HZppGLY|t$ry2~P>Qo1Su#NcW{5H*WP_WRF0f8W#h z(Q_xsovGSWb^F}&xaXe#`yb~&=iGby@BZoA&k0M!MJ1d(iBnlg3h@NapGd4*vwD+A ztY34(RpQ>CW?JX15%<@3y>quw4_CR;;+*d|6%n=r87(wH!I{mO%>u8j!{!(X$+VuPS>Q0E1hAgxLJp) z&wwf%E~=hIpP%)Sz`qSGfp-wqeiFD9`KL=&g$%lh5#$~_VIhv;n1JNk+`vE~adTmK zptsei`YO&}^`Y>eD-=p;%RpS~7^mxm!MUC}wvJKNcPAeH7{yz0T#2IrM{ZAMusDz- zf`5Mo9r z1Onk%A4E7H|W);Qq=3S5QJAQKaR8GKEnSEkMQ5>@|NMFItI=h$+_(= zz;QJaBMsF?`7BhoM|w4s@5pT5k=ZhsDHiiXeLRv+LLC~}wZE)xfuvYVKM2?0pe89; z-F6()aa_lCF8#_f9bN$BN)G@5+Al$4l?YU1e?I_-Q2TG!R6IrchR_7QH`=EaJFk-> zR;MYiNBkk=_T0FBLt=4a?S>6Ki&Jf>=Cy@Vxic|P$Yuum>2!Jf^7iJ9@U@bw`f@`k z%I+E-SiG!l`O>!b=2h8ju86#g7hl}Gx-e8mh2)04#aw5ioZC}gTpY;chbjfv<%aso z{hf(ay17}olb0rTlRwE_1A14`;lqP^4-W#=ka%G2WcvfyD?Hc(P$J*~+aEt3kZ@9P zt6>!nu0;g~Kap;4Pu%#P3SuKe*-?SgKlasEUgtLmLRl?ZFvHT2(dh3 zcT4aj{OL_XH0wOZvYWMD=Ro{y~h*nyYNoA%kJM~>an_uTdb;F zXv4N|@+Hm6rY&zvwWTM=39QL2&5i+c0VdwT)$jNK_EcEFVqXXXZ2#B;Mx!Z(nt;_< z0r(BB{f!SA{}L9B_NF~_JG{TRGP<)blxNOsL3!osMf`S_j(V_EoY^Owc8yjG9 zVmAm8e~0IUq{dAA)@X=llk-VU^aDEnbIb`RYpOiN>wHAv32tzCiS>?;2&Y3&f^qZ8 zpmHc0g4q}TohJ16IzDo?vw(I+2oB=#FH8>8otVSqoJJtt%;87L`$2e2$C>km0FzZX zBLoKw2XWZP_#Mn)li;3c2qvwe;5X}^Y8QF+S?6Qy!&F1g@-bj9dJI^jOQhl7IYMnt ze2ymGqx|m!Ah-*6Lc~j$)S*&g7nU&XIZbvT52x9vKx>?K1zO{@i-~RIOwz>^(-9P= z>4Km-JqMruD_YV`tw^_}E?eH#-nML+nOc%w(f)NcGFIO~!U>a`yg123Xq=v=7X5Hq z1hl$PX21|RPSdF~2(@sM;_yKsal9k${ssY{YRh*n>EA&~*b%Tf`{7(6d z7c2Q-SgfosQ)_-$717}?l#QiC&Y;d9)WRwzcMawDBw-+ivpKtZgum)uy}4334{6O8 zh9bOGWx3M0#~*P12QPoc<6-$5Pg84t{5^#EWEaZDlD{*lGYGZ#8}|`&jN9^j9~h2# zU}$j-P#8D-2Pk$yW?_~YfeXTJhD~qvFRkoR2&zL}OQM_{hlb8lwm&zRiwjx>Z0H=! z!Ql4B#MNsy)O8j!<^FoHxSuvAsX;qPXpx-ZgVqb7(Rz+r;^{2-QSnd@MvK-FO@g`X zF0gk)&JW#qC z31fhx-rIXBeZ$49_wfm5&qbA2?YWSK(YQtOLNU)WaOw%?>71ZCotvNhU)!Qj63#xu zveeR!X*^46Ta)cCtjF^m`E0I9P-5dyW_T~@ubR3pq8=tQYWE?T8_E`Xu`krvcU!(F zrel!E^k&MLWV%_64bsW!Xk3zBqI?3oix$YS&hcTuFFXvG=3>B92Y$Jb&7c+;)%YPS zB}K>pnjZxPI1DPBc?SF%?JE74K2R9yOKi{Q272$0-SYn=cx6WeiAaKMX?aCO{D((W z0(4a_L<`?zQPEaL-Jl&~TZEz#BnEWv3seWZ`W)knNag6MHd0zR4MrFRA_2-HzXwEq z?uW?!Xc4KUJPA!A1HcqlAwrpi$n{*RVhNR(lYC_4`Oq@*bLiJc{SYDFW}IZCRTEhg z5x6c@&j=Dao2$?fzen=-KIj|{i;ng83LU+6Y|fPSj2}941JEG=8boFr9#_ou8bG{> z^EZ7^c+7)BfYw+a#UOYidq(6xa_i4Wi$X1}nWy{UmJvdsP7LQtIXqs$L1G>y&+@_G z2ObQjyM|q?CpiPJpWoAtUarKA8gO`?8ZDJ_UblxP7WRTG726B0GZ3*{6aXnx{>=4=-<(;Z;M<7`4qkK|w^(C|8{LxXd+ z;IyHsAIOx-*BJUEG1ZiHJ^=lf2cRI?c^tiZk^wTu;YE<%v6Y<*0|1J#F!At9Ld2D= zd~dvrhin|2&w$iC30Uv&1LZ&@pwyC@g<(KxMkV{1^!4l4v=Tgg*~!N3u(^B7yNy*L z@fxbX<|8%#>XDiNwUVDu0O_$uO+s`x6QJeHOHD0+76kxAC^W-}VMf%O%$rJs(OFLL zA^(RS@@KfL3KlILyW(eX@Ai^U`^ff0b9c#WZ(-qdX%6!`T~1RLGPLB6Qp{_mIQ4{! zbWTv6SO4>~o8r`VoK_7dnN!Tvl6udAVR&q2y0DqyAS1rTx?@`06OmxU`ve|fkijnc znZafhE?bb?d<&hbU}GBFB21i1Z6cPNO9JF3#$d6rB>|#y9pvdt2vCqiEFmTe&qsnn zEeW|)Q^iCxl~pK^Ph?xyn{(Srh3t-8xs_1q=-z!*M=SYO9Da?HU;9{=hr?PHiCrc6 zVRmOt!`cHf##TaT#gl>?8zTK;QRm)jfO{hs_|X2EhxS=6%YkKm$9DKx)q|kD2R$LE zwHr%5X%61d7WG8*_WVGuw6|2w4f12rMpfd!s%q4--_z5eMX>J#RZ({)(Z($KV z?yy*A)B=qRfD1Hzl>*J(BtR?D;gvMm>5;TKF3_;T>A=RIQ3t-+`rFUYoelytmzI(C z*Lcm&C?4SP9Wy#5S1^?-=6wYuJ)vFa%yE^(IHMZ{cj1^3i;3IN*IQ$;^j}Z?VDgFE z&ub~pdwt(`R&Sbc-`Pu#{OIUo_qE=>^^vFFN+&*h&x94TAA9I`mv=tBV@v%hvd-G9f7X=tZSTp}#Y#X7`%%CZ0!JXx@cA%I6bI}y3Uo8ftP)@;JC&n4OQAo4>mKG7e{-zBZ>MU_ZtW{L`q;f4V zS?k3_P7RI83%EsPqZRxS{M^(DVA6%OfeCfzw4a+|`p}jqq;-zFP6d>GsIbwlbQ2y` z!90|HZ_5u1WQ^B-Wh`OWkz#Tl*143#;zzMCRLYgq1$LqOrK>3L75X|Tqg?5OYoiC( zb6mPU$I*1_XQr$%u7_Zix^SB_jVmjzO+ocZw3UR|tt2vuyT3;yDiz371^KS#TuF&s#YRB#3v0TsgBm!$=wBG=|z^j4H3% zY@CZSvSGBS$j%B*eZx|nOAd`+P-eDC*vopD6xWGzp_tE_*o*?1Ru?h}2N!XeWrQV| zy3-C$MTktok7S*9nT|(^3~lRhkQjyKU0#`y*Mydt!)U95jM20>5G^u6R1;~-=m)`F z2Sc0_Xb@IYpi2`Zp~>Q|ZLK_JE9s%B_5`8ddP~r&TG;{W$?3@J=j@@5N@)ZL1Be12&zLuE)9z*ufqj!fH^b?Jb72n4G$$#-IN!D zjpm#*jXzi~adLS0cXD_PqnhCnp65b%u7j^^WPv7ba%en1QiSL7eSG3hofj5iD;QzY z38<-qUV0~TNv*ag)(G~5M1t_CwkK}$ zjtV-+dw}dcKD@c!!n ziJ7fxjhJ9kBi>}ZpUz`omB*%xrw>rih6d^t1(e=*#0|T+H~Ys1DECvtk3gqr)=R-H zPXtbjpyxL6meac2_S`U@&CFd~4?iqZGG8B&u+6f?2bUjvaGCEK_%Tg(hJHWSsu3NG z(6ypzdQj-n1wnNPAIqYNg9R09c?cjFj@C)1*-_xLz=h9z2OaSQ+aVHE4tGb3&wRd* zPrOR!)x@Ws@R2}>@R=Nd50(!?zO)%6KTqH;6?`nCvnQg(Cx~|HLAUOPyH3o^pjB97 zVw%9pVhQhNsmZD3+He`g%dJ6j1f1ljSdL7b_CWh1)U#T0wEDDh+Kd)VrFa|Zw|(r< z6JhO<{FI4Po$eq-C!)oPMZ<60U#&^xI!3Q5r^+UEw^q_Z!dsB<@?s$yJXl=lvONn& zvdx>p)f;fD1{``@(^&}AFGOeX%9nl&&sD8z{a;nHH#OEVDq^|tERn_9{jNdyKlxsJahc4Mo;{E%#&M9#LoFfTL=`EOYPO_@D0CSaR@Kkf(Da-tPb*afOoqWJh{dLUXUdI z7A?NS;F;EIA9P}TCGp*wST}ev69g=h3Z)kbmcsy-He1?CBzsz)Nu~ z!$Bhnkvq|p-(+fn&dwp;?kP@l@eve#2Zs|R)^TKqmlfhqVOe28S{+u@IZcbL5V7%P z#nrkuZdMqb6bfqE)gWc3K+6PXXcYYB5m^Y=K#ZJGJh>Vm&9RAS<|Teq2Bx43X%$`{ zcL>+&p12_-*dBx=RvA)V7m-ZU;UiaXd*o`7%RXK-;$VZmL@!t9Mqs!`mju-zaQ@^B zHjSb?qLwqb$%~R%fT(!};zIwly3%PH+vzItscmNX?EyKf=a>3Q^fF*w5X9e3~ zdZUM{y&9pa6y2S|X~1=5H_ehbSP#HGe84MR*84otm3F}eN6-PxSGvXoF5XvUip=;% zod~K!(sdHQ3BDowj4RNoR4P&GM};*+!`C(&idYEc(b8E2(AEBygnOIAnJj$ina9Xs<9;?q-?+DLolnA$mfb5JQe z0{Ht5lT~s(Zob}!P3MJWlf+oy&!+v!@n+LaHiG=|Pn~iiWk_PR+0-&g2-A>sy%+*w z^D##GT|oR@ABaEgfjGccTWbOFCe{R{t(u0lZDRp(kd#v=*6E(O>nK~M%hX$8_9_S# z;`(yEiS4;^w%@Z7a#CiE7TL!jxLG&6Qs0GALSzaK(kKevTGNor?Q!WfjjA$glgX8| z&q{$JYOu=Is|1^Rs$~axA6R>z4{JAuWo_(85NnHg6Crvd=VlvIM)7)`aM!6~Z7V8O zu@+O{-d)+8m${r6>H#+$#ySm#9LumQwN8@(K>UQ zvl(rVFKadgutsOANEx@cNiTwYA7^A?-Egj#7>(pZUi{=xX#8Fe!tdC)aAIkeqxSovC1A z`mcM&1e02F!j{)vr^?BhiT<;bQ_gr?n;4$GuT0~}35Dk%9)ix2$J5_}pGuGkC|<(H zME}ZdqQzw{0b4eb(#-pVe*`PYpSC9Awh!YA1OV z`*zD+lDT3eO@3xfkVZEG!~1keP#x0bCauZN{-$0@nU0GIQG%9%V>@fNE8&R9aDQ5~ z!Uf)PL#-?OcBX%{6&e@4m@c;o@%??j&OIgYXjOv9A>f=K??mpMK6<^@qt`*w_7YnA z5!*piuU{Awz=FUa8fh9u!Cj|HuW2Q`O0WGFk(xH59$iQiCXzr31Sai@+FzDUO+|7B z?yH1sYlSbMKj=!wP4(GS! z%*W&sSb$J^U8nwy#d!UecGuGSZCt#4OUVwMG=*;m0N&vP@KO)JSGa@^6Cg+Y{1!*H z!f-_|eCS4C*rrQ@>X6Rzjwu;K_OjX2apG>2(&*5PLn+uPZHMAwCrGeeUhV^Zod^1N zxuCzo0baKH>HQ+8Wc1L}?ru=X>Vh!P(|F|UJ2;@*XEZDk|sQRQAAD0@6m z21qfvUg9`IY5D<&#{|kCn9wUVU#8eyr^-yw2yL4Q+W{~hrB$0aH0h>5Hg?aZB?M~4 zbtiO#S94E&AE*ah>G9#poUmN6-jAMDxMFTL9E9>jFW_#(2{aBleNwBAvM;rzo6Nfs zx9zm+jUacEtwHdYd%H~i$~M$)^WrN`c<^26G9XuuWV<&*x1+}w-3SaCj>=nk?uvx1 zIIBFI87gJ6^fyl0_aZRe!tCs%IjxKWy(?Ylt#r(0B#!7<&dQD1w5}2as#fj zRis3=wsu!<{Hd!>;P-@APQ|x8a@yt6@>L_*$isk*I*k2Ae(j59*Y@|Hj89=1<+SQ; zmv7Gu>2KUEKwcA$3w4b928IvnlAt>D5wC_!Z!f;iR*FfpneaHQa^cWrSi7(IS-V95 zAp#t_%6sF3=YyVfRJB>@_p4S5AycV^6(Yhxq^dfx9*PyhaegWfB}U9K8&Vg zj;ah5))xecBhMSvm)<7y<_7Y3p?z->A2h}DJ()(D01-LXS(%}sLRo#=DJAOlW1ahW zv((N=qaq%~QBzMuVnMtae-T>B^wFywR=E(Lly$xkg)A(l*=`PA-pUkXAP<6W3f*>8`5iR_ z<2O&P&A_>Hb>j{LKaL#zNW}#wC67{~VHaLNwb|H!ugiQemn}CA=ZXUmm4ak3n1FSx zGXCQ?Nngip;ROF_mAaLDu}j5Ge>~pEZ=Q7OATpSE-~eq{vd=-@RWM>>kQISpM1(~rl5q2Cp0 zhzXaP*OrQk6r5oRn8N!q)K^G=@R0x!S^{E^ni60Lm$-lRm`gx`NJ6M3C1lS{d+{3T nhx=EE0GB78QwZpF^Z>CI%J;IQah`$Yg|b85lkS*&h{xT%E%h6oOs-To~H!CMqhsGVEq^_}74> zj)9>JjbF~dAbkp^B0vga39``+ObiU}Kn3hToLZ5XTac3~2xR8v7nNkhXOxr_#22R) zm8BLT$xEQhXD6m*C&uR{78GRWrSk&iIDwcCN(1c&1CSLU-~pi+Jb^UGNDyFhg3!!R IngvP&00!qQ6951J diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/expected_filtered_dump.txt b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/expected_filtered_dump.txt deleted file mode 100644 index 897dc86404..0000000000 --- a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/expected_filtered_dump.txt +++ /dev/null @@ -1,29 +0,0 @@ -Frame 1: 241 bytes on wire (1928 bits), 241 bytes captured (1928 bits) -Ethernet II, Src: Send_00 (20:53:45:4e:44:00), Dst: Receive_00 (20:52:45:43:56:00) -Internet Protocol Version 6, Src: fe80::76, Dst: fe80::77 -Transmission Control Protocol, Src Port: 0, Dst Port: 7114, Seq: 0, Ack: 1, Len: 167 -Zilla Frame - Frame Type ID: 0x00000001 - Frame Type: BEGIN - Protocol Type ID: 0x00000000 - Protocol Type: - Worker: 0 - Offset: 0x00000240 - Origin ID: 0x000000090000000d - Origin Namespace: example - Origin Binding: north_http_server - Routed ID: 0x000000090000000e - Routed Namespace: example - Routed Binding: north_http_kafka_mapping - Stream ID: 0x0000000000000077 - Initial ID: 0x0000000000000077 - Reply ID: 0x0000000000000076 - Direction: INI - Sequence: 71 - Acknowledge: 72 - Maximum: 73 - Timestamp: 0x0000000000000007 - Trace ID: 0x0000000000004202 - Authorization: 0x0000000000004203 - Affinity: 0x0000000000004204 - diff --git a/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/Dockerfile b/incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/test/Dockerfile similarity index 100% rename from incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/airline/Dockerfile rename to incubator/command-dump/src/test/resources/io/aklivity/zilla/runtime/command/dump/internal/test/Dockerfile diff --git a/runtime/engine/src/test/java/io/aklivity/zilla/runtime/engine/test/internal/k3po/ext/behavior/LabelManager.java b/runtime/engine/src/test/java/io/aklivity/zilla/runtime/engine/test/internal/k3po/ext/behavior/LabelManager.java index 2966823b92..191ada57b8 100644 --- a/runtime/engine/src/test/java/io/aklivity/zilla/runtime/engine/test/internal/k3po/ext/behavior/LabelManager.java +++ b/runtime/engine/src/test/java/io/aklivity/zilla/runtime/engine/test/internal/k3po/ext/behavior/LabelManager.java @@ -29,6 +29,7 @@ import java.nio.channels.FileChannel; import java.nio.file.Files; import java.nio.file.Path; +import java.nio.file.attribute.FileTime; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; @@ -42,7 +43,7 @@ public final class LabelManager private final Map labelIds; private final Path labelsPath; - private long sizeInBytes; + private FileTime lastModifiedTime; public LabelManager( Path directory) @@ -51,7 +52,7 @@ public LabelManager( this.labelIds = new ConcurrentHashMap<>(); this.labelsPath = directory.resolve("labels"); - this.sizeInBytes = -1L; + this.lastModifiedTime = null; } public int supplyLabelId( @@ -95,10 +96,10 @@ private void checkSnapshot() { if (!Files.exists(labelsPath)) { - this.sizeInBytes = -1L; + this.lastModifiedTime = null; } - if (this.sizeInBytes == -1L || this.sizeInBytes != Files.size(labelsPath)) + if (this.lastModifiedTime == null || this.lastModifiedTime.compareTo(Files.getLastModifiedTime(labelsPath)) != 0) { Files.createDirectories(labelsPath.getParent()); try (FileChannel channel = FileChannel.open(labelsPath, CREATE, READ, WRITE)) @@ -114,7 +115,7 @@ private void checkSnapshot() labelIds.put(label, labels.size()); } - this.sizeInBytes = channel.position(); + this.lastModifiedTime = Files.getLastModifiedTime(labelsPath); } } } From aa3d2e87b91c87ef6b5d0dbe339d5e64f4f4c5a0 Mon Sep 17 00:00:00 2001 From: Ankit Kumar Date: Wed, 22 May 2024 22:42:05 +0530 Subject: [PATCH 6/8] Starting Zilla with the CLI improvement (#1042) --- .../internal/commands/install/ZpmInstall.java | 5 +++-- .../internal/airline/ZillaStartCommand.java | 21 +++++++++---------- .../runtime/engine/EngineConfiguration.java | 16 ++++++++++++-- 3 files changed, 27 insertions(+), 15 deletions(-) diff --git a/manager/src/main/java/io/aklivity/zilla/manager/internal/commands/install/ZpmInstall.java b/manager/src/main/java/io/aklivity/zilla/manager/internal/commands/install/ZpmInstall.java index 369e9f31c3..ddd1fd7a32 100644 --- a/manager/src/main/java/io/aklivity/zilla/manager/internal/commands/install/ZpmInstall.java +++ b/manager/src/main/java/io/aklivity/zilla/manager/internal/commands/install/ZpmInstall.java @@ -749,9 +749,10 @@ private void generateLauncher() throws IOException "if [ -n \"$ZILLA_INCUBATOR_ENABLED\" ]; then", "JAVA_OPTIONS=\"$JAVA_OPTIONS -Dzilla.incubator.enabled=$ZILLA_INCUBATOR_ENABLED\"", "fi", - "cd \"${0%/*}\"", + "ZILLA_DIRECTORY=\"${0%/*}\"", + "JAVA_OPTIONS=\"$JAVA_OPTIONS -Dzilla.directory=$ZILLA_DIRECTORY\"", String.format(String.join(" ", Arrays.asList( - "exec %s/bin/java", + "exec $ZILLA_DIRECTORY/%s/bin/java", "--add-opens java.base/sun.nio.ch=org.agrona.core", "$JAVA_OPTIONS", "-m io.aklivity.zilla.runtime.command/io.aklivity.zilla.runtime.command.internal.ZillaMain \"$@\"")), diff --git a/runtime/command-start/src/main/java/io/aklivity/zilla/runtime/command/start/internal/airline/ZillaStartCommand.java b/runtime/command-start/src/main/java/io/aklivity/zilla/runtime/command/start/internal/airline/ZillaStartCommand.java index 1cbb02786c..cc983dbb43 100644 --- a/runtime/command-start/src/main/java/io/aklivity/zilla/runtime/command/start/internal/airline/ZillaStartCommand.java +++ b/runtime/command-start/src/main/java/io/aklivity/zilla/runtime/command/start/internal/airline/ZillaStartCommand.java @@ -19,6 +19,7 @@ import static io.aklivity.zilla.runtime.engine.EngineConfiguration.ENGINE_DIRECTORY; import static io.aklivity.zilla.runtime.engine.EngineConfiguration.ENGINE_VERBOSE; import static io.aklivity.zilla.runtime.engine.EngineConfiguration.ENGINE_WORKERS; +import static io.aklivity.zilla.runtime.engine.EngineConfiguration.ZILLA_DIRECTORY_PROPERTY; import static java.lang.Runtime.getRuntime; import static org.agrona.LangUtil.rethrowUnchecked; @@ -45,14 +46,15 @@ @Command(name = "start", description = "Start engine") public final class ZillaStartCommand extends ZillaCommand { - private static final String OPTION_PROPERTIES_PATH_DEFAULT = ".zilla/zilla.properties"; + private static final String ZILLA_DIRECTORY = System.getProperty(ZILLA_DIRECTORY_PROPERTY, "."); + private static final String OPTION_PROPERTIES_PATH_DEFAULT = String.format("%s/.zilla/zilla.properties", ZILLA_DIRECTORY); + private static final String ZILLA_ENGINE_PATH_DEFAULT = String.format("%s/.zilla/engine", ZILLA_DIRECTORY); private final CountDownLatch stop = new CountDownLatch(1); private final CountDownLatch stopped = new CountDownLatch(1); @Option(name = {"-c", "--config"}, - description = "Configuration location", - hidden = true) + description = "Configuration location") public URI configURI; @Option(name = {"-v", "--verbose"}, @@ -64,18 +66,15 @@ public final class ZillaStartCommand extends ZillaCommand public int workers = -1; @Option(name = {"-P", "--property"}, - description = "Property name=value", - hidden = true) + description = "Property name=value") public List properties; @Option(name = {"-p", "--properties"}, - description = "Path to properties", - hidden = true) + description = "Path to properties") public String propertiesPath; - @Option(name = "-e", - description = "Show exception traces", - hidden = true) + @Option(name = {"-e", "--exception-traces"}, + description = "Show exception traces") public boolean exceptions; @Override @@ -83,7 +82,7 @@ public void run() { Runtime runtime = getRuntime(); Properties props = new Properties(); - props.setProperty(ENGINE_DIRECTORY.name(), ".zilla/engine"); + props.setProperty(ENGINE_DIRECTORY.name(), ZILLA_ENGINE_PATH_DEFAULT); Path path = Paths.get(propertiesPath != null ? propertiesPath : OPTION_PROPERTIES_PATH_DEFAULT); if (Files.exists(path) || propertiesPath != null) diff --git a/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/EngineConfiguration.java b/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/EngineConfiguration.java index 932ea9f06e..5f9522446d 100644 --- a/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/EngineConfiguration.java +++ b/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/EngineConfiguration.java @@ -39,6 +39,7 @@ public class EngineConfiguration extends Configuration { public static final String ZILLA_NAME_PROPERTY = "zilla.name"; + public static final String ZILLA_DIRECTORY_PROPERTY = "zilla.directory"; public static final boolean DEBUG_BUDGETS = Boolean.getBoolean("zilla.engine.debug.budgets"); @@ -82,7 +83,7 @@ public class EngineConfiguration extends Configuration ENGINE_CONFIG_URL = config.property(URL.class, "config.url", EngineConfiguration::configURL, "file:zilla.yaml"); ENGINE_CONFIG_POLL_INTERVAL_SECONDS = config.property("config.poll.interval.seconds", 60); ENGINE_NAME = config.property("name", EngineConfiguration::defaultName); - ENGINE_DIRECTORY = config.property("directory", "."); + ENGINE_DIRECTORY = config.property("directory", EngineConfiguration::defaultDirectory); ENGINE_CACHE_DIRECTORY = config.property(Path.class, "cache.directory", EngineConfiguration::cacheDirectory, "cache"); ENGINE_HOST_RESOLVER = config.property(HostResolver.class, "host.resolver", EngineConfiguration::decodeHostResolver, EngineConfiguration::defaultHostResolver); @@ -319,7 +320,12 @@ private static URL configURL( URL configURL = null; try { - configURL = URI.create(url).toURL(); + URI uri = URI.create(url); + if (uri.getScheme() == null) + { + uri = URI.create(String.format("file:%s", url)); + } + configURL = uri.toURL(); } catch (MalformedURLException ex) { @@ -348,6 +354,12 @@ private static String defaultName( return System.getProperty(ZILLA_NAME_PROPERTY, "zilla"); } + private static String defaultDirectory( + Configuration config) + { + return System.getProperty(ZILLA_DIRECTORY_PROPERTY, "."); + } + private static HostResolver decodeHostResolver( Configuration config, String value) From 89e40887121a8f54f0e9f346a499da42b7399c92 Mon Sep 17 00:00:00 2001 From: Attila Kreiner Date: Fri, 24 May 2024 19:02:37 +0200 Subject: [PATCH 7/8] Add service.name attribute to metrics (#1048) --- runtime/exporter-otlp/pom.xml | 1 - .../serializer/OtlpMetricsSerializer.java | 48 +++++-- .../exporter/otlp/internal/MetricsIT.java | 50 ++++--- .../metrics.with.service.name/client.rpt | 126 +++++++++++++++++ .../metrics.with.service.name/server.rpt | 128 ++++++++++++++++++ .../config/metrics.with.service.name.yaml | 43 ++++++ .../specs/exporter/otlp/ApplicationIT.java | 9 ++ 7 files changed, 377 insertions(+), 28 deletions(-) create mode 100644 specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/application/metrics.with.service.name/client.rpt create mode 100644 specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/application/metrics.with.service.name/server.rpt create mode 100644 specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/config/metrics.with.service.name.yaml diff --git a/runtime/exporter-otlp/pom.xml b/runtime/exporter-otlp/pom.xml index 39634ecee0..c4e4f10565 100644 --- a/runtime/exporter-otlp/pom.xml +++ b/runtime/exporter-otlp/pom.xml @@ -177,7 +177,6 @@ io/aklivity/zilla/specs/exporter/otlp/application/**/*, - io/aklivity/zilla/specs/exporter/otlp/network/**/*, io/aklivity/zilla/specs/exporter/otlp/config/* ${project.build.directory}/test-classes diff --git a/runtime/exporter-otlp/src/main/java/io/aklivity/zilla/runtime/exporter/otlp/internal/serializer/OtlpMetricsSerializer.java b/runtime/exporter-otlp/src/main/java/io/aklivity/zilla/runtime/exporter/otlp/internal/serializer/OtlpMetricsSerializer.java index b5499c11b9..307b8200ab 100644 --- a/runtime/exporter-otlp/src/main/java/io/aklivity/zilla/runtime/exporter/otlp/internal/serializer/OtlpMetricsSerializer.java +++ b/runtime/exporter-otlp/src/main/java/io/aklivity/zilla/runtime/exporter/otlp/internal/serializer/OtlpMetricsSerializer.java @@ -18,6 +18,7 @@ import static io.aklivity.zilla.runtime.engine.metrics.Metric.Unit.COUNT; import java.util.Arrays; +import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; @@ -43,6 +44,7 @@ public class OtlpMetricsSerializer { private static final String SCOPE_NAME = "OtlpMetricsSerializer"; private static final String SCOPE_VERSION = "1.0.0"; + private static final String SERVICE_NAME = "service.name"; // CUMULATIVE is an AggregationTemporality for a metric aggregator which reports changes since a fixed start time. private static final int CUMULATIVE = 2; private static final Map SERVER_METRIC_NAMES = Map.of( @@ -66,6 +68,7 @@ public class OtlpMetricsSerializer private final LongFunction resolveKind; private final Function resolveMetric; private final OtlpMetricsDescriptor descriptor; + private final AttributeConfig serviceNameAttribute; public OtlpMetricsSerializer( List records, @@ -78,6 +81,7 @@ public OtlpMetricsSerializer( this.resolveMetric = resolveMetric; this.resolveKind = resolveKind; this.descriptor = new OtlpMetricsDescriptor(); + this.serviceNameAttribute = resolveServiceNameAttribute(); } public String serializeAll() @@ -89,6 +93,24 @@ public String serializeAll() return createJson(attributesArray, metricsArray); } + private AttributeConfig resolveServiceNameAttribute() + { + String serviceName = null; + for (AttributeConfig attribute : attributes) + { + if (SERVICE_NAME.equals(attribute.name)) + { + serviceName = attribute.value; + break; + } + } + return serviceName == null ? null : + AttributeConfig.builder() + .name(SERVICE_NAME) + .value(serviceName) + .build(); + } + private JsonObject serialize( MetricRecord metric) { @@ -140,16 +162,22 @@ private long now() private JsonArrayBuilder attributes( MetricRecord record) { - return attributesToJson(List.of( - AttributeConfig.builder() - .name("namespace") - .value(record.namespace()) - .build(), - AttributeConfig.builder() - .name("binding") - .value(record.binding()) - .build() - )); + List attributes = new LinkedList<>(); + attributes.add(AttributeConfig.builder() + .name("namespace") + .value(record.namespace()) + .build() + ); + attributes.add(AttributeConfig.builder() + .name("binding") + .value(record.binding()) + .build() + ); + if (serviceNameAttribute != null) + { + attributes.add(serviceNameAttribute); + } + return attributesToJson(attributes); } private JsonArrayBuilder attributesToJson( diff --git a/runtime/exporter-otlp/src/test/java/io/aklivity/zilla/runtime/exporter/otlp/internal/MetricsIT.java b/runtime/exporter-otlp/src/test/java/io/aklivity/zilla/runtime/exporter/otlp/internal/MetricsIT.java index 066c0d63a7..fb37740e28 100644 --- a/runtime/exporter-otlp/src/test/java/io/aklivity/zilla/runtime/exporter/otlp/internal/MetricsIT.java +++ b/runtime/exporter-otlp/src/test/java/io/aklivity/zilla/runtime/exporter/otlp/internal/MetricsIT.java @@ -28,6 +28,7 @@ import org.kaazing.k3po.junit.annotation.Specification; import org.kaazing.k3po.junit.rules.K3poRule; +import io.aklivity.zilla.runtime.engine.namespace.NamespacedId; import io.aklivity.zilla.runtime.engine.test.EngineRule; import io.aklivity.zilla.runtime.engine.test.annotation.Configuration; @@ -57,16 +58,44 @@ public class MetricsIT public void shouldPostMetricsToOtlpCollector() throws Exception { // GIVEN + writeMetrics(); + + // WHEN + // the exporter publishes the metric data to the collector in json format + + // THEN + k3po.finish(); + } + + @Test + @Configuration("metrics.with.service.name.yaml") + @Specification({ + "metrics.with.service.name/server" + }) + public void shouldPostMetricsWithServiceNameToOtlpCollector() throws Exception + { + // GIVEN + writeMetrics(); + + // WHEN + // the exporter publishes the metric data to the collector in json format + + // THEN + k3po.finish(); + } + + private void writeMetrics() + { int namespaceId = engine.supplyLabelId("test"); int bindingId = engine.supplyLabelId("net0"); int counterId = engine.supplyLabelId("test.counter"); int gaugeId = engine.supplyLabelId("test.gauge"); int histogramId = engine.supplyLabelId("test.histogram"); - long nsBindingId = namespacedId(namespaceId, bindingId); - long nsCounterId = namespacedId(namespaceId, counterId); - long nsGaugeId = namespacedId(namespaceId, gaugeId); - long nsHistogramId = namespacedId(namespaceId, histogramId); + long nsBindingId = NamespacedId.id(namespaceId, bindingId); + long nsCounterId = NamespacedId.id(namespaceId, counterId); + long nsGaugeId = NamespacedId.id(namespaceId, gaugeId); + long nsHistogramId = NamespacedId.id(namespaceId, histogramId); LongConsumer counterWriter0 = engine.counterWriter(nsBindingId, nsCounterId, 0); LongConsumer counterWriter1 = engine.counterWriter(nsBindingId, nsCounterId, 1); @@ -93,18 +122,5 @@ public void shouldPostMetricsToOtlpCollector() throws Exception histogramWriter1.accept(17L); histogramWriter2.accept(18L); // 1 value goes to bucket #0 and 2 values go to bucket #4 - - // WHEN - // the exporter publishes the metric data to the collector in json format - - // THEN - k3po.finish(); - } - - private static long namespacedId( - final int namespaceId, - final int localId) - { - return (long) namespaceId << Integer.SIZE | (long) localId << 0; } } diff --git a/specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/application/metrics.with.service.name/client.rpt b/specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/application/metrics.with.service.name/client.rpt new file mode 100644 index 0000000000..b713ed1c5f --- /dev/null +++ b/specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/application/metrics.with.service.name/client.rpt @@ -0,0 +1,126 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +connect "http://localhost:4318/v1/metrics" +connected + +write http:method "POST" +write http:version "HTTP/1.1" +write http:header "Host" "localhost:4318" +write http:header "Content-Length" "942" +write +'{' + '"resourceMetrics":[' + '{' + '"resource":{' + '"attributes":[' + '{' + '"key":"service.namespace",' + '"value":{' + '"stringValue":"example"' + '}' + '},' + '{' + '"key":"service.name",' + '"value":{' + '"stringValue":"zilla"' + '}' + '}' + ']' + '},' + '"scopeMetrics":[' + '{' + '"scope":{' + '"name":"OtlpMetricsSerializer",' + '"version":"1.0.0"' + '},' + '"metrics":[' + '{' + '"name":"test.counter",' + '"unit":"",' + '"description":"Description for test.counter",' + '"sum":{' + '"dataPoints":[' + '{' + '"asInt":77,' + '"timeUnixNano":0123456789123456789,' + '"attributes":[' + '{' + '"key":"namespace",' + '"value":{' + '"stringValue":"test"' + '}' + '},' + '{' + '"key":"binding",' + '"value":{' + '"stringValue":"net0"' + '}' + '},' + '{' + '"key":"service.name",' + '"value":{' + '"stringValue":"zilla"' + '}' + '}' + ']' + '}' + '],' + '"aggregationTemporality":2,' + '"isMonotonic":true' + '}' + '},' + '{' + '"name":"test.gauge",' + '"unit":"",' + '"description":"Description for test.gauge",' + '"gauge":{' + '"dataPoints":[' + '{' + '"asInt":66,' + '"timeUnixNano":0123456789123456789,' + '"attributes":[' + '{' + '"key":"namespace",' + '"value":{' + '"stringValue":"test"' + '}' + '},' + '{' + '"key":"binding",' + '"value":{' + '"stringValue":"net0"' + '}' + '},' + '{' + '"key":"service.name",' + '"value":{' + '"stringValue":"zilla"' + '}' + '}' + ']' + '}' + ']' + '}' + '}' + ']' + '}' + ']' + '}' + ']' +'}' +write close + +read http:status "200" "OK" diff --git a/specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/application/metrics.with.service.name/server.rpt b/specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/application/metrics.with.service.name/server.rpt new file mode 100644 index 0000000000..36e69bfa72 --- /dev/null +++ b/specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/application/metrics.with.service.name/server.rpt @@ -0,0 +1,128 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +accept "http://localhost:4318/v1/metrics" +accepted +connected + +read http:method "POST" +read http:version "HTTP/1.1" +read http:header "Host" "localhost:4318" +read http:header "Content-Length" "942" +read +'{' + '"resourceMetrics":[' + '{' + '"resource":{' + '"attributes":[' + '{' + '"key":"service.namespace",' + '"value":{' + '"stringValue":"example"' + '}' + '},' + '{' + '"key":"service.name",' + '"value":{' + '"stringValue":"zilla"' + '}' + '}' + ']' + '},' + '"scopeMetrics":[' + '{' + '"scope":{' + '"name":"OtlpMetricsSerializer",' + '"version":"1.0.0"' + '},' + '"metrics":[' + '{' + '"name":"test.counter",' + '"unit":"",' + '"description":"Description for test.counter",' + '"sum":{' + '"dataPoints":[' + '{' + '"asInt":77,' + '"timeUnixNano":' [0..19] ',' + '"attributes":[' + '{' + '"key":"namespace",' + '"value":{' + '"stringValue":"test"' + '}' + '},' + '{' + '"key":"binding",' + '"value":{' + '"stringValue":"net0"' + '}' + '},' + '{' + '"key":"service.name",' + '"value":{' + '"stringValue":"zilla"' + '}' + '}' + ']' + '}' + '],' + '"aggregationTemporality":2,' + '"isMonotonic":true' + '}' + '},' + '{' + '"name":"test.gauge",' + '"unit":"",' + '"description":"Description for test.gauge",' + '"gauge":{' + '"dataPoints":[' + '{' + '"asInt":66,' + '"timeUnixNano":' [0..19] ',' + '"attributes":[' + '{' + '"key":"namespace",' + '"value":{' + '"stringValue":"test"' + '}' + '},' + '{' + '"key":"binding",' + '"value":{' + '"stringValue":"net0"' + '}' + '},' + '{' + '"key":"service.name",' + '"value":{' + '"stringValue":"zilla"' + '}' + '}' + ']' + '}' + ']' + '}' + '}' + ']' + '}' + ']' + '}' + ']' +'}' +read closed + +write http:status "200" "OK" +write close diff --git a/specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/config/metrics.with.service.name.yaml b/specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/config/metrics.with.service.name.yaml new file mode 100644 index 0000000000..79ed8be0bd --- /dev/null +++ b/specs/exporter-otlp.spec/src/main/scripts/io/aklivity/zilla/specs/exporter/otlp/config/metrics.with.service.name.yaml @@ -0,0 +1,43 @@ +# +# Copyright 2021-2023 Aklivity Inc +# +# Licensed under the Aklivity Community License (the "License"); you may not use +# this file except in compliance with the License. You may obtain a copy of the +# License at +# +# https://www.aklivity.io/aklivity-community-license/ +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# + +--- +name: test +telemetry: + attributes: + service.namespace: example + service.name: zilla + metrics: + - test.counter + - test.gauge + exporters: + test0: + type: otlp + options: + interval: 1 + signals: + - metrics + endpoint: + location: http://localhost:4318 + overrides: + metrics: /v1/metrics +bindings: + net0: + type: test + kind: server + exit: app0 + telemetry: + metrics: + - test.* diff --git a/specs/exporter-otlp.spec/src/test/java/io/aklivity/zilla/specs/exporter/otlp/ApplicationIT.java b/specs/exporter-otlp.spec/src/test/java/io/aklivity/zilla/specs/exporter/otlp/ApplicationIT.java index b37a5e70aa..d1ce5f2a00 100644 --- a/specs/exporter-otlp.spec/src/test/java/io/aklivity/zilla/specs/exporter/otlp/ApplicationIT.java +++ b/specs/exporter-otlp.spec/src/test/java/io/aklivity/zilla/specs/exporter/otlp/ApplicationIT.java @@ -52,4 +52,13 @@ public void shouldPostMetrics() throws Exception { k3po.finish(); } + + @Test + @Specification({ + "${app}/metrics.with.service.name/client", + "${app}/metrics.with.service.name/server" }) + public void shouldPostMetricsWithMetricsAttributes() throws Exception + { + k3po.finish(); + } } From 85575e21c173beb9ad441eb483139b3ab9d7322b Mon Sep 17 00:00:00 2001 From: John Fallows Date: Fri, 24 May 2024 12:02:52 -0700 Subject: [PATCH 8/8] Prepare release 0.9.81 --- CHANGELOG.md | 16 ++++++++++++++++ build/flyweight-maven-plugin/pom.xml | 2 +- build/pom.xml | 2 +- cloud/docker-image/pom.xml | 2 +- cloud/helm-chart/pom.xml | 2 +- cloud/pom.xml | 2 +- conf/pom.xml | 2 +- incubator/binding-amqp.spec/pom.xml | 2 +- incubator/binding-amqp/pom.xml | 2 +- incubator/catalog-filesystem.spec/pom.xml | 2 +- incubator/catalog-filesystem/pom.xml | 2 +- incubator/command-dump/pom.xml | 2 +- incubator/command-log/pom.xml | 2 +- incubator/command-tune/pom.xml | 2 +- incubator/pom.xml | 2 +- manager/pom.xml | 2 +- pom.xml | 2 +- runtime/binding-asyncapi/pom.xml | 2 +- runtime/binding-echo/pom.xml | 2 +- runtime/binding-fan/pom.xml | 2 +- runtime/binding-filesystem/pom.xml | 2 +- runtime/binding-grpc-kafka/pom.xml | 2 +- runtime/binding-grpc/pom.xml | 2 +- runtime/binding-http-filesystem/pom.xml | 2 +- runtime/binding-http-kafka/pom.xml | 2 +- runtime/binding-http/pom.xml | 2 +- runtime/binding-kafka-grpc/pom.xml | 2 +- runtime/binding-kafka/pom.xml | 2 +- runtime/binding-mqtt-kafka/pom.xml | 2 +- runtime/binding-mqtt/pom.xml | 2 +- runtime/binding-openapi-asyncapi/pom.xml | 2 +- runtime/binding-openapi/pom.xml | 2 +- runtime/binding-proxy/pom.xml | 2 +- runtime/binding-sse-kafka/pom.xml | 2 +- runtime/binding-sse/pom.xml | 2 +- runtime/binding-tcp/pom.xml | 2 +- runtime/binding-tls/pom.xml | 2 +- runtime/binding-ws/pom.xml | 2 +- runtime/catalog-apicurio/pom.xml | 2 +- runtime/catalog-inline/pom.xml | 2 +- runtime/catalog-karapace/pom.xml | 2 +- runtime/command-metrics/pom.xml | 2 +- runtime/command-start/pom.xml | 2 +- runtime/command-stop/pom.xml | 2 +- runtime/command/pom.xml | 2 +- runtime/common/pom.xml | 2 +- runtime/engine/pom.xml | 2 +- runtime/exporter-otlp/pom.xml | 2 +- runtime/exporter-prometheus/pom.xml | 2 +- runtime/exporter-stdout/pom.xml | 2 +- runtime/guard-jwt/pom.xml | 2 +- runtime/metrics-grpc/pom.xml | 2 +- runtime/metrics-http/pom.xml | 2 +- runtime/metrics-stream/pom.xml | 2 +- runtime/model-avro/pom.xml | 2 +- runtime/model-core/pom.xml | 2 +- runtime/model-json/pom.xml | 2 +- runtime/model-protobuf/pom.xml | 2 +- runtime/pom.xml | 2 +- runtime/resolver-env/pom.xml | 2 +- runtime/vault-filesystem/pom.xml | 2 +- specs/binding-asyncapi.spec/pom.xml | 2 +- specs/binding-echo.spec/pom.xml | 2 +- specs/binding-fan.spec/pom.xml | 2 +- specs/binding-filesystem.spec/pom.xml | 2 +- specs/binding-grpc-kafka.spec/pom.xml | 2 +- specs/binding-grpc.spec/pom.xml | 2 +- specs/binding-http-filesystem.spec/pom.xml | 2 +- specs/binding-http-kafka.spec/pom.xml | 2 +- specs/binding-http.spec/pom.xml | 2 +- specs/binding-kafka-grpc.spec/pom.xml | 2 +- specs/binding-kafka.spec/pom.xml | 2 +- specs/binding-mqtt-kafka.spec/pom.xml | 2 +- specs/binding-mqtt.spec/pom.xml | 2 +- specs/binding-openapi-asyncapi.spec/pom.xml | 2 +- specs/binding-openapi.spec/pom.xml | 2 +- specs/binding-proxy.spec/pom.xml | 2 +- specs/binding-sse-kafka.spec/pom.xml | 2 +- specs/binding-sse.spec/pom.xml | 2 +- specs/binding-tcp.spec/pom.xml | 2 +- specs/binding-tls.spec/pom.xml | 2 +- specs/binding-ws.spec/pom.xml | 2 +- specs/catalog-apicurio.spec/pom.xml | 2 +- specs/catalog-inline.spec/pom.xml | 2 +- specs/catalog-karapace.spec/pom.xml | 2 +- specs/engine.spec/pom.xml | 2 +- specs/exporter-otlp.spec/pom.xml | 2 +- specs/exporter-prometheus.spec/pom.xml | 2 +- specs/exporter-stdout.spec/pom.xml | 2 +- specs/guard-jwt.spec/pom.xml | 2 +- specs/metrics-grpc.spec/pom.xml | 2 +- specs/metrics-http.spec/pom.xml | 2 +- specs/metrics-stream.spec/pom.xml | 2 +- specs/model-avro.spec/pom.xml | 2 +- specs/model-core.spec/pom.xml | 2 +- specs/model-json.spec/pom.xml | 2 +- specs/model-protobuf.spec/pom.xml | 2 +- specs/pom.xml | 2 +- specs/vault-filesystem.spec/pom.xml | 2 +- 99 files changed, 114 insertions(+), 98 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index abacd7f8cf..aa531d9980 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [Unreleased](https://github.com/aklivity/zilla/tree/HEAD) + +[Full Changelog](https://github.com/aklivity/zilla/compare/0.9.80...HEAD) + +**Implemented enhancements:** + +- Improve Starting Zilla with the CLI [\#1016](https://github.com/aklivity/zilla/issues/1016) +- Generate `zilla dump` packet captures in timestamp order including across workers [\#959](https://github.com/aklivity/zilla/issues/959) +- Split protocol testing into separate ITs for `zilla dump` command [\#958](https://github.com/aklivity/zilla/issues/958) +- Add zilla context to MQTT consumer groups [\#886](https://github.com/aklivity/zilla/issues/886) + +**Fixed bugs:** + +- Telemetry attribute service.name doesn't get sent correctly [\#1007](https://github.com/aklivity/zilla/issues/1007) +- Streampay `zilla` instance crashes while trying to access `https://localhost:9090` [\#975](https://github.com/aklivity/zilla/issues/975) + ## [0.9.80](https://github.com/aklivity/zilla/tree/0.9.80) (2024-05-20) [Full Changelog](https://github.com/aklivity/zilla/compare/0.9.79...0.9.80) diff --git a/build/flyweight-maven-plugin/pom.xml b/build/flyweight-maven-plugin/pom.xml index 74d6a13033..cd6a4debb6 100644 --- a/build/flyweight-maven-plugin/pom.xml +++ b/build/flyweight-maven-plugin/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla build - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/build/pom.xml b/build/pom.xml index 99a8e7a8fa..c3e3c8248d 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla zilla - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/cloud/docker-image/pom.xml b/cloud/docker-image/pom.xml index 0b37392348..c3021b6710 100644 --- a/cloud/docker-image/pom.xml +++ b/cloud/docker-image/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla cloud - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/cloud/helm-chart/pom.xml b/cloud/helm-chart/pom.xml index 9a4887cb75..b1ca014870 100644 --- a/cloud/helm-chart/pom.xml +++ b/cloud/helm-chart/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla cloud - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/cloud/pom.xml b/cloud/pom.xml index 68c51f05c8..c5db9fca24 100644 --- a/cloud/pom.xml +++ b/cloud/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla zilla - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/conf/pom.xml b/conf/pom.xml index 86622b6574..e415d0753e 100644 --- a/conf/pom.xml +++ b/conf/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla zilla - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/incubator/binding-amqp.spec/pom.xml b/incubator/binding-amqp.spec/pom.xml index 40846d1a35..58a82ae0c8 100644 --- a/incubator/binding-amqp.spec/pom.xml +++ b/incubator/binding-amqp.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla incubator - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/incubator/binding-amqp/pom.xml b/incubator/binding-amqp/pom.xml index 71c9c61d90..76ec8e3679 100644 --- a/incubator/binding-amqp/pom.xml +++ b/incubator/binding-amqp/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla incubator - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/incubator/catalog-filesystem.spec/pom.xml b/incubator/catalog-filesystem.spec/pom.xml index 204a195e91..4d80ee453b 100644 --- a/incubator/catalog-filesystem.spec/pom.xml +++ b/incubator/catalog-filesystem.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla incubator - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/incubator/catalog-filesystem/pom.xml b/incubator/catalog-filesystem/pom.xml index c09fada8d9..1f8242fc9c 100644 --- a/incubator/catalog-filesystem/pom.xml +++ b/incubator/catalog-filesystem/pom.xml @@ -6,7 +6,7 @@ io.aklivity.zilla incubator - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/incubator/command-dump/pom.xml b/incubator/command-dump/pom.xml index 129f9ed179..61e4f316ff 100644 --- a/incubator/command-dump/pom.xml +++ b/incubator/command-dump/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla incubator - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/incubator/command-log/pom.xml b/incubator/command-log/pom.xml index 588aee3edc..07b3343c6f 100644 --- a/incubator/command-log/pom.xml +++ b/incubator/command-log/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla incubator - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/incubator/command-tune/pom.xml b/incubator/command-tune/pom.xml index 7374c89ed9..14ace4d1f3 100644 --- a/incubator/command-tune/pom.xml +++ b/incubator/command-tune/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla incubator - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/incubator/pom.xml b/incubator/pom.xml index 3a394cb372..d3393a6702 100644 --- a/incubator/pom.xml +++ b/incubator/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla zilla - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/manager/pom.xml b/manager/pom.xml index 8d8a444944..b7529998ae 100644 --- a/manager/pom.xml +++ b/manager/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla zilla - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/pom.xml b/pom.xml index e3c87486da..feda8b1d19 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ 4.0.0 io.aklivity.zilla zilla - develop-SNAPSHOT + 0.9.81 pom zilla https://github.com/aklivity/zilla diff --git a/runtime/binding-asyncapi/pom.xml b/runtime/binding-asyncapi/pom.xml index 0f8d8e23b1..6702d6a2ac 100644 --- a/runtime/binding-asyncapi/pom.xml +++ b/runtime/binding-asyncapi/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-echo/pom.xml b/runtime/binding-echo/pom.xml index c74bf3c8de..086f49ad32 100644 --- a/runtime/binding-echo/pom.xml +++ b/runtime/binding-echo/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-fan/pom.xml b/runtime/binding-fan/pom.xml index 77b5e0aab5..9d327f4531 100644 --- a/runtime/binding-fan/pom.xml +++ b/runtime/binding-fan/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-filesystem/pom.xml b/runtime/binding-filesystem/pom.xml index 46b6e08957..5b046d227e 100644 --- a/runtime/binding-filesystem/pom.xml +++ b/runtime/binding-filesystem/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-grpc-kafka/pom.xml b/runtime/binding-grpc-kafka/pom.xml index a9952b0a68..d11fed84f2 100644 --- a/runtime/binding-grpc-kafka/pom.xml +++ b/runtime/binding-grpc-kafka/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-grpc/pom.xml b/runtime/binding-grpc/pom.xml index 8bf0b5f396..57db8951c7 100644 --- a/runtime/binding-grpc/pom.xml +++ b/runtime/binding-grpc/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-http-filesystem/pom.xml b/runtime/binding-http-filesystem/pom.xml index 19d46db62e..58d9c0c96c 100644 --- a/runtime/binding-http-filesystem/pom.xml +++ b/runtime/binding-http-filesystem/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-http-kafka/pom.xml b/runtime/binding-http-kafka/pom.xml index dabc54fb58..f27c3aebb1 100644 --- a/runtime/binding-http-kafka/pom.xml +++ b/runtime/binding-http-kafka/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-http/pom.xml b/runtime/binding-http/pom.xml index 15111be380..b91db1c239 100644 --- a/runtime/binding-http/pom.xml +++ b/runtime/binding-http/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-kafka-grpc/pom.xml b/runtime/binding-kafka-grpc/pom.xml index 41b94c3bcb..aa021231d4 100644 --- a/runtime/binding-kafka-grpc/pom.xml +++ b/runtime/binding-kafka-grpc/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-kafka/pom.xml b/runtime/binding-kafka/pom.xml index d643324d07..b5faa65cb8 100644 --- a/runtime/binding-kafka/pom.xml +++ b/runtime/binding-kafka/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-mqtt-kafka/pom.xml b/runtime/binding-mqtt-kafka/pom.xml index 78e8e17d68..0562a09af7 100644 --- a/runtime/binding-mqtt-kafka/pom.xml +++ b/runtime/binding-mqtt-kafka/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-mqtt/pom.xml b/runtime/binding-mqtt/pom.xml index 92759b3de4..3fbe3fa654 100644 --- a/runtime/binding-mqtt/pom.xml +++ b/runtime/binding-mqtt/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-openapi-asyncapi/pom.xml b/runtime/binding-openapi-asyncapi/pom.xml index 4b5e39cd7c..eb78d9fe0e 100644 --- a/runtime/binding-openapi-asyncapi/pom.xml +++ b/runtime/binding-openapi-asyncapi/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-openapi/pom.xml b/runtime/binding-openapi/pom.xml index f7b76f7381..323ff7472e 100644 --- a/runtime/binding-openapi/pom.xml +++ b/runtime/binding-openapi/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-proxy/pom.xml b/runtime/binding-proxy/pom.xml index 38985b6961..f0c1a3ca24 100644 --- a/runtime/binding-proxy/pom.xml +++ b/runtime/binding-proxy/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-sse-kafka/pom.xml b/runtime/binding-sse-kafka/pom.xml index 73486efd4d..11d284f321 100644 --- a/runtime/binding-sse-kafka/pom.xml +++ b/runtime/binding-sse-kafka/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-sse/pom.xml b/runtime/binding-sse/pom.xml index 1d7aa891b8..d6eb77c129 100644 --- a/runtime/binding-sse/pom.xml +++ b/runtime/binding-sse/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-tcp/pom.xml b/runtime/binding-tcp/pom.xml index 513e5eae6b..dadc3f20f1 100644 --- a/runtime/binding-tcp/pom.xml +++ b/runtime/binding-tcp/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-tls/pom.xml b/runtime/binding-tls/pom.xml index 71b1cd04a9..bbecb9283d 100644 --- a/runtime/binding-tls/pom.xml +++ b/runtime/binding-tls/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/binding-ws/pom.xml b/runtime/binding-ws/pom.xml index 6f846d1a83..ca2c46596f 100644 --- a/runtime/binding-ws/pom.xml +++ b/runtime/binding-ws/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/catalog-apicurio/pom.xml b/runtime/catalog-apicurio/pom.xml index d352e584b8..373d7858e5 100644 --- a/runtime/catalog-apicurio/pom.xml +++ b/runtime/catalog-apicurio/pom.xml @@ -6,7 +6,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/catalog-inline/pom.xml b/runtime/catalog-inline/pom.xml index 23d4127026..1d658b5cde 100644 --- a/runtime/catalog-inline/pom.xml +++ b/runtime/catalog-inline/pom.xml @@ -6,7 +6,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/catalog-karapace/pom.xml b/runtime/catalog-karapace/pom.xml index c7bc7ddee3..77ff4aac8a 100644 --- a/runtime/catalog-karapace/pom.xml +++ b/runtime/catalog-karapace/pom.xml @@ -6,7 +6,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/command-metrics/pom.xml b/runtime/command-metrics/pom.xml index ad52828b76..07860a1be7 100644 --- a/runtime/command-metrics/pom.xml +++ b/runtime/command-metrics/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/command-start/pom.xml b/runtime/command-start/pom.xml index 8ab765d93d..4458946f18 100644 --- a/runtime/command-start/pom.xml +++ b/runtime/command-start/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/command-stop/pom.xml b/runtime/command-stop/pom.xml index 9334bc51e1..d834646c1c 100644 --- a/runtime/command-stop/pom.xml +++ b/runtime/command-stop/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/command/pom.xml b/runtime/command/pom.xml index 29712783a0..84e9ecf76e 100644 --- a/runtime/command/pom.xml +++ b/runtime/command/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/common/pom.xml b/runtime/common/pom.xml index a96a6c1cab..a4425ecef9 100644 --- a/runtime/common/pom.xml +++ b/runtime/common/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/engine/pom.xml b/runtime/engine/pom.xml index 0c55bb67f6..4fbc2a8f5d 100644 --- a/runtime/engine/pom.xml +++ b/runtime/engine/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/exporter-otlp/pom.xml b/runtime/exporter-otlp/pom.xml index c4e4f10565..c8aaa99853 100644 --- a/runtime/exporter-otlp/pom.xml +++ b/runtime/exporter-otlp/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/exporter-prometheus/pom.xml b/runtime/exporter-prometheus/pom.xml index dad973cdb8..a2c51145f3 100644 --- a/runtime/exporter-prometheus/pom.xml +++ b/runtime/exporter-prometheus/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/exporter-stdout/pom.xml b/runtime/exporter-stdout/pom.xml index f32e0c0d24..54042d5bcc 100644 --- a/runtime/exporter-stdout/pom.xml +++ b/runtime/exporter-stdout/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/guard-jwt/pom.xml b/runtime/guard-jwt/pom.xml index 00df1533ea..3544b05bbf 100644 --- a/runtime/guard-jwt/pom.xml +++ b/runtime/guard-jwt/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/metrics-grpc/pom.xml b/runtime/metrics-grpc/pom.xml index 5713263b66..45ef697d07 100644 --- a/runtime/metrics-grpc/pom.xml +++ b/runtime/metrics-grpc/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/metrics-http/pom.xml b/runtime/metrics-http/pom.xml index f505adfd82..b2e376e84d 100644 --- a/runtime/metrics-http/pom.xml +++ b/runtime/metrics-http/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/metrics-stream/pom.xml b/runtime/metrics-stream/pom.xml index 9ccb8e23dd..587758694a 100644 --- a/runtime/metrics-stream/pom.xml +++ b/runtime/metrics-stream/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/model-avro/pom.xml b/runtime/model-avro/pom.xml index ca62af879a..bea1117aad 100644 --- a/runtime/model-avro/pom.xml +++ b/runtime/model-avro/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/model-core/pom.xml b/runtime/model-core/pom.xml index 128a99d912..c8c96b9a59 100644 --- a/runtime/model-core/pom.xml +++ b/runtime/model-core/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/model-json/pom.xml b/runtime/model-json/pom.xml index c1b1993207..54b789d031 100644 --- a/runtime/model-json/pom.xml +++ b/runtime/model-json/pom.xml @@ -6,7 +6,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/model-protobuf/pom.xml b/runtime/model-protobuf/pom.xml index 9728ca1d60..4bcda4b943 100644 --- a/runtime/model-protobuf/pom.xml +++ b/runtime/model-protobuf/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/pom.xml b/runtime/pom.xml index 444f321674..3642aaa2c3 100644 --- a/runtime/pom.xml +++ b/runtime/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla zilla - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/resolver-env/pom.xml b/runtime/resolver-env/pom.xml index a7c5e5d4a5..9760cc3b42 100644 --- a/runtime/resolver-env/pom.xml +++ b/runtime/resolver-env/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/runtime/vault-filesystem/pom.xml b/runtime/vault-filesystem/pom.xml index d5ab82cb01..2c76e96082 100644 --- a/runtime/vault-filesystem/pom.xml +++ b/runtime/vault-filesystem/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla runtime - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-asyncapi.spec/pom.xml b/specs/binding-asyncapi.spec/pom.xml index f34019e7b5..c69d69780a 100644 --- a/specs/binding-asyncapi.spec/pom.xml +++ b/specs/binding-asyncapi.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-echo.spec/pom.xml b/specs/binding-echo.spec/pom.xml index d0bfed636e..2bb29df1ff 100644 --- a/specs/binding-echo.spec/pom.xml +++ b/specs/binding-echo.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-fan.spec/pom.xml b/specs/binding-fan.spec/pom.xml index 027d3210d7..090b6e314a 100644 --- a/specs/binding-fan.spec/pom.xml +++ b/specs/binding-fan.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-filesystem.spec/pom.xml b/specs/binding-filesystem.spec/pom.xml index cc20c4134b..f5955e5687 100644 --- a/specs/binding-filesystem.spec/pom.xml +++ b/specs/binding-filesystem.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-grpc-kafka.spec/pom.xml b/specs/binding-grpc-kafka.spec/pom.xml index 546b34371a..77bd146083 100644 --- a/specs/binding-grpc-kafka.spec/pom.xml +++ b/specs/binding-grpc-kafka.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-grpc.spec/pom.xml b/specs/binding-grpc.spec/pom.xml index c75c35e62e..075249288b 100644 --- a/specs/binding-grpc.spec/pom.xml +++ b/specs/binding-grpc.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-http-filesystem.spec/pom.xml b/specs/binding-http-filesystem.spec/pom.xml index b9499ae553..8f4be1792d 100644 --- a/specs/binding-http-filesystem.spec/pom.xml +++ b/specs/binding-http-filesystem.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-http-kafka.spec/pom.xml b/specs/binding-http-kafka.spec/pom.xml index 456a3106b5..f9cd5e5be9 100644 --- a/specs/binding-http-kafka.spec/pom.xml +++ b/specs/binding-http-kafka.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-http.spec/pom.xml b/specs/binding-http.spec/pom.xml index 38a7898be9..d0e0c80368 100644 --- a/specs/binding-http.spec/pom.xml +++ b/specs/binding-http.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-kafka-grpc.spec/pom.xml b/specs/binding-kafka-grpc.spec/pom.xml index 197265531f..65e1a4804c 100644 --- a/specs/binding-kafka-grpc.spec/pom.xml +++ b/specs/binding-kafka-grpc.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-kafka.spec/pom.xml b/specs/binding-kafka.spec/pom.xml index c4559fdb23..75e606c950 100644 --- a/specs/binding-kafka.spec/pom.xml +++ b/specs/binding-kafka.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-mqtt-kafka.spec/pom.xml b/specs/binding-mqtt-kafka.spec/pom.xml index 517559d0d0..10c97bdabd 100644 --- a/specs/binding-mqtt-kafka.spec/pom.xml +++ b/specs/binding-mqtt-kafka.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-mqtt.spec/pom.xml b/specs/binding-mqtt.spec/pom.xml index f624bb85ae..1252d445ae 100644 --- a/specs/binding-mqtt.spec/pom.xml +++ b/specs/binding-mqtt.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-openapi-asyncapi.spec/pom.xml b/specs/binding-openapi-asyncapi.spec/pom.xml index a968c22788..f2e1f7d63d 100644 --- a/specs/binding-openapi-asyncapi.spec/pom.xml +++ b/specs/binding-openapi-asyncapi.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-openapi.spec/pom.xml b/specs/binding-openapi.spec/pom.xml index a364289b7f..8106f86b20 100644 --- a/specs/binding-openapi.spec/pom.xml +++ b/specs/binding-openapi.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-proxy.spec/pom.xml b/specs/binding-proxy.spec/pom.xml index fcdb4b9723..1694c667f4 100644 --- a/specs/binding-proxy.spec/pom.xml +++ b/specs/binding-proxy.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-sse-kafka.spec/pom.xml b/specs/binding-sse-kafka.spec/pom.xml index 20b099b140..895a809b8d 100644 --- a/specs/binding-sse-kafka.spec/pom.xml +++ b/specs/binding-sse-kafka.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-sse.spec/pom.xml b/specs/binding-sse.spec/pom.xml index 5cf8e9018c..0e9d4eaa18 100644 --- a/specs/binding-sse.spec/pom.xml +++ b/specs/binding-sse.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-tcp.spec/pom.xml b/specs/binding-tcp.spec/pom.xml index 94ef266ac7..2651d8ca97 100644 --- a/specs/binding-tcp.spec/pom.xml +++ b/specs/binding-tcp.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-tls.spec/pom.xml b/specs/binding-tls.spec/pom.xml index d38dbf81e7..b48d248829 100644 --- a/specs/binding-tls.spec/pom.xml +++ b/specs/binding-tls.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/binding-ws.spec/pom.xml b/specs/binding-ws.spec/pom.xml index d7f9373844..96cf8044ae 100644 --- a/specs/binding-ws.spec/pom.xml +++ b/specs/binding-ws.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/catalog-apicurio.spec/pom.xml b/specs/catalog-apicurio.spec/pom.xml index 8b082e8aca..e6af4d5558 100644 --- a/specs/catalog-apicurio.spec/pom.xml +++ b/specs/catalog-apicurio.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/catalog-inline.spec/pom.xml b/specs/catalog-inline.spec/pom.xml index 6971804b7d..77fc5519ac 100644 --- a/specs/catalog-inline.spec/pom.xml +++ b/specs/catalog-inline.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/catalog-karapace.spec/pom.xml b/specs/catalog-karapace.spec/pom.xml index 718b1efaab..3e7b4a4574 100644 --- a/specs/catalog-karapace.spec/pom.xml +++ b/specs/catalog-karapace.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/engine.spec/pom.xml b/specs/engine.spec/pom.xml index 1d5bd3dafe..91f97018f4 100644 --- a/specs/engine.spec/pom.xml +++ b/specs/engine.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/exporter-otlp.spec/pom.xml b/specs/exporter-otlp.spec/pom.xml index ff8a3d5c12..03aa939a4c 100644 --- a/specs/exporter-otlp.spec/pom.xml +++ b/specs/exporter-otlp.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/exporter-prometheus.spec/pom.xml b/specs/exporter-prometheus.spec/pom.xml index ab815f1981..694ae3b7c0 100644 --- a/specs/exporter-prometheus.spec/pom.xml +++ b/specs/exporter-prometheus.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/exporter-stdout.spec/pom.xml b/specs/exporter-stdout.spec/pom.xml index fab6c4231a..a668638024 100644 --- a/specs/exporter-stdout.spec/pom.xml +++ b/specs/exporter-stdout.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/guard-jwt.spec/pom.xml b/specs/guard-jwt.spec/pom.xml index ab5d123aed..6f0a62b943 100644 --- a/specs/guard-jwt.spec/pom.xml +++ b/specs/guard-jwt.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/metrics-grpc.spec/pom.xml b/specs/metrics-grpc.spec/pom.xml index 884c0b1751..82329850b4 100644 --- a/specs/metrics-grpc.spec/pom.xml +++ b/specs/metrics-grpc.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/metrics-http.spec/pom.xml b/specs/metrics-http.spec/pom.xml index 7d6afa3aaa..5e93b72668 100644 --- a/specs/metrics-http.spec/pom.xml +++ b/specs/metrics-http.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/metrics-stream.spec/pom.xml b/specs/metrics-stream.spec/pom.xml index 5d51e42f16..bf3090717b 100644 --- a/specs/metrics-stream.spec/pom.xml +++ b/specs/metrics-stream.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/model-avro.spec/pom.xml b/specs/model-avro.spec/pom.xml index efb3437304..40eef0418c 100644 --- a/specs/model-avro.spec/pom.xml +++ b/specs/model-avro.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/model-core.spec/pom.xml b/specs/model-core.spec/pom.xml index f80887668e..01f71c12b6 100644 --- a/specs/model-core.spec/pom.xml +++ b/specs/model-core.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/model-json.spec/pom.xml b/specs/model-json.spec/pom.xml index ba45a835dc..68d0231ffd 100644 --- a/specs/model-json.spec/pom.xml +++ b/specs/model-json.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/model-protobuf.spec/pom.xml b/specs/model-protobuf.spec/pom.xml index 146ea32d91..f2ac8d4131 100644 --- a/specs/model-protobuf.spec/pom.xml +++ b/specs/model-protobuf.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/pom.xml b/specs/pom.xml index 95053f440b..849635ba32 100644 --- a/specs/pom.xml +++ b/specs/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla zilla - develop-SNAPSHOT + 0.9.81 ../pom.xml diff --git a/specs/vault-filesystem.spec/pom.xml b/specs/vault-filesystem.spec/pom.xml index b248001b27..2b3be80fa0 100644 --- a/specs/vault-filesystem.spec/pom.xml +++ b/specs/vault-filesystem.spec/pom.xml @@ -8,7 +8,7 @@ io.aklivity.zilla specs - develop-SNAPSHOT + 0.9.81 ../pom.xml