private void buildStorageEngine() { assertNonNull(configuration, "The AxonServerConfiguration is a hard requirement and should be provided"); assertNonNull(axonServerConnectionManager, "The PlatformConnectionManager is a hard requirement and should be provided"); AxonServerEventStoreClient eventStoreClient = new AxonServerEventStoreClient(configuration, axonServerConnectionManager); super.storageEngine(AxonIQEventStorageEngine.builder() .snapshotSerializer(snapshotSerializer) .upcasterChain(upcasterChain) .snapshotFilter(snapshotFilter) .eventSerializer(eventSerializer) .configuration(configuration) .eventStoreClient(eventStoreClient) .converter(new GrpcMetaDataConverter(eventSerializer)) .build()); }
@Override public Builder storageEngine(EventStorageEngine storageEngine) { super.storageEngine(storageEngine); return this; }
@Override public Builder storageEngine(EventStorageEngine storageEngine) { super.storageEngine(storageEngine); return this; }
private void buildStorageEngine() { assertNonNull(configuration, "The AxonServerConfiguration is a hard requirement and should be provided"); assertNonNull(axonServerConnectionManager, "The PlatformConnectionManager is a hard requirement and should be provided"); AxonServerEventStoreClient eventStoreClient = new AxonServerEventStoreClient(configuration, axonServerConnectionManager); super.storageEngine(AxonIQEventStorageEngine.builder() .snapshotSerializer(snapshotSerializer) .upcasterChain(upcasterChain) .snapshotFilter(snapshotFilter) .eventSerializer(eventSerializer) .configuration(configuration) .eventStoreClient(eventStoreClient) .converter(new GrpcMetaDataConverter(eventSerializer)) .build()); }
@Override public Builder storageEngine(EventStorageEngine storageEngine) { super.storageEngine(storageEngine); return this; }
@Override public Builder storageEngine(EventStorageEngine storageEngine) { super.storageEngine(storageEngine); return this; }