HBase client 1.x with gRPC

Imagine, that you need to use the HBase client 1.x and gRPC in the same Java application. The code for connecting dependencies to Maven will look something like this: If you run the application and execute the request through the HBase client, there will be an exception: The problem is that hbase-client 1.x uses an earlier […]

READ MORE

Spring Boot REST vs gRPC compatibility

Suppose you are using Spring Boot and you have a REST controller: At some point you need to connect the gRPC to the project without disabling REST controller. The gRPC code looks something like this: Then you find out that you can’t start REST server together with gRPC. gRPC will start, but REST will not. […]

READ MORE

Guava version compatibility issue

Spring Boot errors Pure Java exceptions Suggested solutions Method Guava version com.google.common.base.Preconditions.checkArgument 26.0-jre / 26.0-android com.google.common.base.Preconditions.checkState 21.0 com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor 18.0 / 19.0 Let me remind you that guava with maven is connected like this: If suggested verions don’t fix the problem, you can try connecting the specified versions in order: 18.0 / 19.0 / 21.0 / […]

READ MORE