From 7b82b014d4d1578596d0a52e6c7bb1d6fc69b8d9 Mon Sep 17 00:00:00 2001 From: Robin Han Date: Wed, 23 Aug 2023 19:47:58 +0800 Subject: [PATCH] feat(stream-client): add KRaftKVClient empty impl Signed-off-by: Robin Han --- .../scala/kafka/log/s3/KRaftKVClient.java | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 core/src/main/scala/kafka/log/s3/KRaftKVClient.java diff --git a/core/src/main/scala/kafka/log/s3/KRaftKVClient.java b/core/src/main/scala/kafka/log/s3/KRaftKVClient.java new file mode 100644 index 0000000000..c3cbdba41b --- /dev/null +++ b/core/src/main/scala/kafka/log/s3/KRaftKVClient.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package kafka.log.s3; + +import com.automq.elasticstream.client.api.KVClient; +import com.automq.elasticstream.client.api.KeyValue; + +import java.util.List; +import java.util.concurrent.CompletableFuture; + +public class KRaftKVClient implements KVClient { + @Override + public CompletableFuture putKV(List list) { + return null; + } + + @Override + public CompletableFuture> getKV(List list) { + return null; + } + + @Override + public CompletableFuture delKV(List list) { + return null; + } +}