Skip to content

Commit

Permalink
deps: dump zeebe to 8.2.0 (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
saig0 authored Apr 5, 2023
1 parent c265d10 commit 360a988
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public class ZeebeHazelcast implements AutoCloseable {
RECORD_MESSAGE_TYPES.add(Schema.DecisionRecord.class);
RECORD_MESSAGE_TYPES.add(Schema.DecisionRequirementsRecord.class);
RECORD_MESSAGE_TYPES.add(Schema.DecisionEvaluationRecord.class);
RECORD_MESSAGE_TYPES.add(Schema.SignalRecord.class);
RECORD_MESSAGE_TYPES.add(Schema.SignalSubscriptionRecord.class);
}

private final Ringbuffer<byte[]> ringbuffer;
Expand Down Expand Up @@ -368,6 +370,17 @@ public Builder addDecisionEvaluationListener(
return this;
}

public Builder addSignalListener(Consumer<Schema.SignalRecord> listener) {
addListener(Schema.SignalRecord.class, listener);
return this;
}

public Builder addSignalSubscriptionListener(
Consumer<Schema.SignalSubscriptionRecord> listener) {
addListener(Schema.SignalSubscriptionRecord.class, listener);
return this;
}

private long getSequence(Ringbuffer<?> ringbuffer) {

final var headSequence = ringbuffer.headSequence();
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
</parent>

<properties>
<version.zeebe>8.2.0-rc1</version.zeebe>
<version.exporter.protobuf>1.4.0-alpha1</version.exporter.protobuf>
<version.zeebe>8.2.0</version.zeebe>
<version.exporter.protobuf>1.4.0</version.exporter.protobuf>
<version.hazelcast>5.2.3</version.hazelcast>
<version.log4j>2.20.0</version.log4j>
<version.zeebe.testcontainers>3.5.2</version.zeebe.testcontainers>
Expand Down

0 comments on commit 360a988

Please sign in to comment.