docs: static <K, V> CacheConfig<K, V> getCacheConfig(HazelcastClientInstanceImpl client,
                                                     String cacheName, String simpleCacheName) {
          ClientMessage request = CacheGetConfigCodec.encodeRequest(cacheName, simpleCacheName);
          try {
              int partitionId = client.getClientPartitionService().getPartitionId(cacheName);
              ClientInvocation clientInvocation = new ClientInvocation(client, request, cacheName, partitionId);
              Future<ClientMessage> future = clientInvocation.invoke();
              ClientMessage responseMessage = future.get();
              SerializationService serializationService = client.getSerializationService();
  
              return deserializeCacheConfig(client, responseMessage, serializationService, clientInvocation);
          } catch (Exception e) {
              throw rethrow(e);
          }
      }