Closed YoEight closed 1 year ago
Added: Support user-provided gRPC client interceptors.
You can know pass your gRPC interceptor(s) in 2 different ways, depending on how you create your connection settings instance.
EventStoreDBClientSettings settings = EventStoreDBClientSettings.parseOrThrow("{connection string}") settings.getInterceptors().add(myGrpcClientInterceptor); EventStoreDBClient client = EventStoreDBClient.create(settings); // rest of your application
EventStoreDBClientSettings settings = EventStoreDBClientSettings.newBuilder() .addInterceptor(myGrpcClientInterceptor) .buildConnectionSettings(); EventStoreDBClient client = EventStoreDBClient.create(settings); // rest of your application
Added: Support user-provided gRPC client interceptors.
You can know pass your gRPC interceptor(s) in 2 different ways, depending on how you create your connection settings instance.
connection string
connection builder