use of io.camunda.zeebe.logstreams.util.ListLogStorage in project zeebe by zeebe-io.
the class StreamProcessorInconsistentPositionTest method setup.
@Before
public void setup() {
testStreams = new TestStreams(tempFolder, closeables, actorSchedulerRule.get());
final var listLogStorage = new ListLogStorage();
testStreams.createLogStream(getLogName(1), 1, listLogStorage);
testStreams.createLogStream(getLogName(2), 2, listLogStorage);
firstStreamProcessorComposite = new StreamProcessingComposite(testStreams, 1, DefaultZeebeDbFactory.defaultFactory(), actorSchedulerRule.get());
secondStreamProcessorComposite = new StreamProcessingComposite(testStreams, 2, DefaultZeebeDbFactory.defaultFactory(), actorSchedulerRule.get());
}
use of io.camunda.zeebe.logstreams.util.ListLogStorage in project zeebe by camunda-cloud.
the class StreamProcessorInconsistentPositionTest method setup.
@Before
public void setup() {
testStreams = new TestStreams(tempFolder, closeables, actorSchedulerRule.get());
final var listLogStorage = new ListLogStorage();
testStreams.createLogStream(getLogName(1), 1, listLogStorage);
testStreams.createLogStream(getLogName(2), 2, listLogStorage);
firstStreamProcessorComposite = new StreamProcessingComposite(testStreams, 1, DefaultZeebeDbFactory.defaultFactory(), actorSchedulerRule.get());
secondStreamProcessorComposite = new StreamProcessingComposite(testStreams, 2, DefaultZeebeDbFactory.defaultFactory(), actorSchedulerRule.get());
}
Aggregations