EventStore / EventStoreDB-Client-Java

Official Asynchronous Java 8+ Client Library for EventStoreDB 20.6+
https://eventstore.com
Apache License 2.0
63 stars 20 forks source link

Increase default append size limit. #129

Closed YoEight closed 2 years ago

YoEight commented 2 years ago

Fixes #128

The goal of this PR is to fix this specific error:

io.grpc.StatusRuntimeException: INVALID_ARGUMENT: Maximum Append Size of 1048576 Exceeded.
java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: Maximum Append Size of 1048576 Exceeded.
    at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
    at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
YoEight commented 2 years ago

I'm blocked on this issue. Whatever setting I tune on the grpc-netty side, I still end with the same error without the underlying limit being changed. It seems that the limit is not modifiable from the public API.