I’m trying to use the Java client (dgraph4j 1.7.1) to commit a mutation that has a long ‘string’ value (15k).
The following error occurs:
io.grpc.StatusRuntimeException: INTERNAL: http2 exception io.netty.handler.codec.http2.Http2Exception: Header size exceeded max allowed size (10240)
I was looking for a way to increase the value using the API, but nothing worked.
Is there a solution?
Mutation mu = Mutation.newBuilder().setSetNquads(ByteString.copyFromUtf8(mutate)).build(); txn.mutate(mu); txn.commit();
Or is there a better way to commit a mutation in RDF format containing long strings?