client-java
client-java copied to clipboard
TiKV Java Client
Flink cdc depend on cdc component,but cdc comonent is missing in master branch. I found this pr https://github.com/tikv/client-java/pull/563 remove cdc component, and do not tell us move to where.
## Question When I use CAS API ```java void compareAndSet(ByteString key, Optional prevValue, ByteString value); void compareAndSet(ByteString key, Optional prevValue, ByteString value, long ttl); ``` How do I know the...
## Bug Report ### 1. Describe the bug When I want to enable TLS, it reports a bug. `tikv-client-java:3.2.0` can not build GrpcSslContexts. My PC configuration: - Oracle JDK 1.8...
Apr 25, 2022 6:16:00 AM org.tikv.shade.io.grpc.internal.ManagedChannelImpl$2 uncaughtException SEVERE: [Channel: (192.168.31.189:2379)] Uncaught exception in the SynchronizationContext. Panic! java.lang.NoClassDefFoundError: org/tikv/shade/io/grpc/internal/ManagedChannelImpl$LbHelperImpl$1LoadBalancerRefreshNameResolution at org.tikv.shade.io.grpc.internal.ManagedChannelImpl$LbHelperImpl.refreshNameResolution(ManagedChannelImpl.java:1492) at org.tikv.shade.io.grpc.internal.PickFirstLoadBalancer.processSubchannelState(PickFirstLoadBalancer.java:89) at org.tikv.shade.io.grpc.internal.PickFirstLoadBalancer.access$000(PickFirstLoadBalancer.java:39) at org.tikv.shade.io.grpc.internal.PickFirstLoadBalancer$1.onSubchannelState(PickFirstLoadBalancer.java:58) at org.tikv.shade.io.grpc.internal.ManagedChannelImpl$SubchannelImpl$1ManagedInternalSubchannelCallback.onStateChange(ManagedChannelImpl.java:1966) at org.tikv.shade.io.grpc.internal.InternalSubchannel.gotoState(InternalSubchannel.java:333)...
## Feature Request For now, how to setup a TLS client for TiKV in Java is undocumented, we need an example for this type of deployment.
## Bug Report ### 1. Describe the bug lock some key using pessimistic lock cause exception: ### 2. Minimal reproduce step (Required) ``` Kvrpcpb.Mutation mutation = Kvrpcpb.Mutation.newBuilder() .setKey(primaryKey) .setOp(Kvrpcpb.Op.PessimisticLock) .build();...
This issue is a tracking issue of the TiKV API V2 feature of `client-java`. For now, the API version is attached to request contexts and the key prefix is also...
## Bug Report ### 1. Describe the bug Prewrite PrimaryKey will retry for the retryableException. The following code shows the definition of retryableException. ``` private boolean retryableException(Exception e) { return...
## Feature Request **Is your feature request related to a problem? Please describe:** `Backoffer` is an interface that controls the backoff action while a request failed. But now it is...
## Feature Request **Is your feature request related to a problem? Please describe:** While handling multiple clusters with a single client, we need some information to distinguish them in metrics...