From a4af3415e833525ee33a3ac41e409a1b96c2f985 Mon Sep 17 00:00:00 2001 From: Matteo Merli Date: Tue, 17 Mar 2026 09:29:54 -0700 Subject: [PATCH 1/2] Add Etcd metadata store provider plugin Etcd metadata store support is being removed from Pulsar core (PIP-462). This module provides it as an external plugin for users who still need it. The plugin can be loaded by adding the shaded jar to the Pulsar classpath and setting the system property: -Dpulsar.metadata.store.providers=org.apache.pulsar.metadata.impl.EtcdMetadataStoreProvider --- pom.xml | 1 + pulsar-metadata-etcd-contrib/pom.xml | 175 ++++++ .../metadata/impl/EtcdMetadataStore.java | 539 ++++++++++++++++++ .../impl/EtcdMetadataStoreProvider.java | 46 ++ .../metadata/impl/EtcdSessionWatcher.java | 163 ++++++ .../metadata/impl/EtcdMetadataStoreTest.java | 172 ++++++ .../src/test/resources/ssl/cert/ca.pem | 18 + .../resources/ssl/cert/client-key-pk8.pem | 28 + .../src/test/resources/ssl/cert/client.pem | 20 + pulsar-metadata-etcd-contrib/target/.plxarc | 1 + .../target/classes/META-INF/DEPENDENCIES | 99 ++++ .../target/classes/META-INF/LICENSE | 202 +++++++ .../target/classes/META-INF/NOTICE | 8 + .../impl/EtcdConfig$EtcdConfigBuilder.class | Bin 0 -> 2611 bytes .../pulsar/metadata/impl/EtcdConfig.class | Bin 0 -> 4836 bytes .../metadata/impl/EtcdMetadataStore$1.class | Bin 0 -> 2072 bytes .../metadata/impl/EtcdMetadataStore$2.class | Bin 0 -> 1042 bytes .../metadata/impl/EtcdMetadataStore.class | Bin 0 -> 27039 bytes .../impl/EtcdMetadataStoreProvider.class | Bin 0 -> 1119 bytes .../metadata/impl/EtcdSessionWatcher$1.class | Bin 0 -> 876 bytes .../metadata/impl/EtcdSessionWatcher.class | Bin 0 -> 7319 bytes .../META-INF/DEPENDENCIES | 99 ++++ .../META-INF/LICENSE | 202 +++++++ .../META-INF/NOTICE | 8 + .../compile/default-compile/createdFiles.lst | 8 + .../compile/default-compile/inputFiles.lst | 3 + .../target/spotless-index | 6 + 27 files changed, 1798 insertions(+) create mode 100644 pulsar-metadata-etcd-contrib/pom.xml create mode 100644 pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStore.java create mode 100644 pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.java create mode 100644 pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdSessionWatcher.java create mode 100644 pulsar-metadata-etcd-contrib/src/test/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreTest.java create mode 100644 pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/ca.pem create mode 100644 pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/client-key-pk8.pem create mode 100644 pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/client.pem create mode 100644 pulsar-metadata-etcd-contrib/target/.plxarc create mode 100644 pulsar-metadata-etcd-contrib/target/classes/META-INF/DEPENDENCIES create mode 100644 pulsar-metadata-etcd-contrib/target/classes/META-INF/LICENSE create mode 100644 pulsar-metadata-etcd-contrib/target/classes/META-INF/NOTICE create mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig$EtcdConfigBuilder.class create mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig.class create mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$1.class create mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$2.class create mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore.class create mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.class create mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdSessionWatcher$1.class create mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdSessionWatcher.class create mode 100644 pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/DEPENDENCIES create mode 100644 pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/LICENSE create mode 100644 pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/NOTICE create mode 100644 pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst create mode 100644 pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst create mode 100644 pulsar-metadata-etcd-contrib/target/spotless-index diff --git a/pom.xml b/pom.xml index e65edca..02b4c3f 100644 --- a/pom.xml +++ b/pom.xml @@ -39,6 +39,7 @@ pulsar-auth-contrib pulsar-rpc-contrib pulsar-admin-mcp-contrib + pulsar-metadata-etcd-contrib diff --git a/pulsar-metadata-etcd-contrib/pom.xml b/pulsar-metadata-etcd-contrib/pom.xml new file mode 100644 index 0000000..066fb55 --- /dev/null +++ b/pulsar-metadata-etcd-contrib/pom.xml @@ -0,0 +1,175 @@ + + + + 4.0.0 + + org.apache + pulsar-java-contrib + 1.0.0-SNAPSHOT + + + pulsar-metadata-etcd-contrib + Pulsar Metadata Etcd Contrib + Etcd metadata store provider plugin for Apache Pulsar + + + 0.7.7 + 1.60.0 + 2.17.2 + 3.3.2 + 4.2.0-SNAPSHOT + + + + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + ${jackson-dataformat-yaml.version} + + + + dev.failsafe + failsafe + ${failsafe.version} + + + + io.etcd + jetcd-core + ${jetcd.version} + + + io.grpc + grpc-netty + + + io.netty + * + + + javax.annotation + javax.annotation-api + + + + + + io.etcd + jetcd-test + ${jetcd.version} + test + + + io.etcd + jetcd-api + + + io.etcd + jetcd-core + + + + + + io.grpc + grpc-netty-shaded + ${grpc.version} + + + + io.grpc + grpc-protobuf + ${grpc.version} + + + + io.grpc + grpc-stub + ${grpc.version} + + + org.apache.pulsar + pulsar-metadata + ${pulsar-metadata.version} + provided + + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.6.0 + + + + shade + + package + + true + true + false + + + io.etcd:* + io.vertx:* + + + + + io.vertx + org.apache.pulsar.jetcd.shaded.io.vertx + + + io.grpc.netty + io.grpc.netty.shaded.io.grpc.netty + + + io.netty + io.grpc.netty.shaded.io.netty + + + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + true + + + + + + + + + + + + 2025 + diff --git a/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStore.java b/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStore.java new file mode 100644 index 0000000..e94e14c --- /dev/null +++ b/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStore.java @@ -0,0 +1,539 @@ +/* + * Licensed 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 org.apache.pulsar.metadata.impl; + +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; +import io.etcd.jetcd.ByteSequence; +import io.etcd.jetcd.Client; +import io.etcd.jetcd.ClientBuilder; +import io.etcd.jetcd.KV; +import io.etcd.jetcd.KeyValue; +import io.etcd.jetcd.Txn; +import io.etcd.jetcd.kv.DeleteResponse; +import io.etcd.jetcd.kv.GetResponse; +import io.etcd.jetcd.kv.PutResponse; +import io.etcd.jetcd.kv.TxnResponse; +import io.etcd.jetcd.lease.LeaseKeepAliveResponse; +import io.etcd.jetcd.op.Cmp; +import io.etcd.jetcd.op.CmpTarget; +import io.etcd.jetcd.op.Op; +import io.etcd.jetcd.options.DeleteOption; +import io.etcd.jetcd.options.GetOption; +import io.etcd.jetcd.options.PutOption; +import io.etcd.jetcd.options.WatchOption; +import io.etcd.jetcd.support.CloseableClient; +import io.etcd.jetcd.watch.WatchEvent; +import io.etcd.jetcd.watch.WatchResponse; +import io.grpc.Status; +import io.grpc.StatusRuntimeException; +import io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts; +import io.grpc.netty.shaded.io.netty.handler.ssl.SslContext; +import io.grpc.netty.shaded.io.netty.handler.ssl.SslProvider; +import io.grpc.stub.StreamObserver; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.util.ArrayList; +import java.util.Collections; +import java.util.EnumSet; +import java.util.List; +import java.util.Optional; +import java.util.Set; +import java.util.TreeSet; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.CompletionException; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.stream.Collectors; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.apache.commons.lang3.StringUtils; +import org.apache.pulsar.metadata.api.GetResult; +import org.apache.pulsar.metadata.api.MetadataStoreConfig; +import org.apache.pulsar.metadata.api.MetadataStoreException; +import org.apache.pulsar.metadata.api.Notification; +import org.apache.pulsar.metadata.api.NotificationType; +import org.apache.pulsar.metadata.api.Stat; +import org.apache.pulsar.metadata.api.extended.CreateOption; +import org.apache.pulsar.metadata.api.extended.SessionEvent; +import org.apache.pulsar.metadata.impl.batching.AbstractBatchedMetadataStore; +import org.apache.pulsar.metadata.impl.batching.MetadataOp; +import org.apache.pulsar.metadata.impl.batching.OpDelete; +import org.apache.pulsar.metadata.impl.batching.OpGet; +import org.apache.pulsar.metadata.impl.batching.OpGetChildren; +import org.apache.pulsar.metadata.impl.batching.OpPut; + +@Slf4j +public class EtcdMetadataStore extends AbstractBatchedMetadataStore { + + static final String ETCD_SCHEME = "etcd"; + static final String ETCD_SCHEME_IDENTIFIER = "etcd:"; + + private final int leaseTTLSeconds; + private final Client client; + private final KV kv; + private volatile long leaseId; + private volatile CloseableClient leaseClient; + private final EtcdSessionWatcher sessionWatcher; + + public EtcdMetadataStore( + String metadataURL, MetadataStoreConfig conf, boolean enableSessionWatcher) + throws MetadataStoreException { + super(conf); + + this.leaseTTLSeconds = conf.getSessionTimeoutMillis() / 1000; + try { + this.client = newEtcdClient(metadataURL, conf); + this.kv = client.getKVClient(); + this.client + .getWatchClient() + .watch( + ByteSequence.from("/", StandardCharsets.UTF_8), + WatchOption.newBuilder().isPrefix(true).build(), + this::handleWatchResponse); + if (enableSessionWatcher) { + this.sessionWatcher = + new EtcdSessionWatcher( + client, conf.getSessionTimeoutMillis(), this::receivedSessionEvent); + + // Ensure the lease is created when we start + this.createLease(false).join(); + } else { + sessionWatcher = null; + } + } catch (Exception e) { + throw new MetadataStoreException(e); + } + } + + private Client newEtcdClient(String metadataURL, MetadataStoreConfig conf) throws IOException { + String etcdUrl = metadataURL.replaceFirst(ETCD_SCHEME_IDENTIFIER, ""); + ClientBuilder clientBuilder = Client.builder().endpoints(etcdUrl.split(",")); + + if (StringUtils.isNotEmpty(conf.getConfigFilePath())) { + try (InputStream inputStream = Files.newInputStream(Paths.get(conf.getConfigFilePath()))) { + EtcdConfig etcdConfig = + new ObjectMapper(new YAMLFactory()).readValue(inputStream, EtcdConfig.class); + if (etcdConfig.isUseTls()) { + File trustCertsFile = readFile(etcdConfig.getTlsTrustCertsFilePath()); + File keyFile = readFile(etcdConfig.getTlsKeyFilePath()); + File certFile = readFile(etcdConfig.getTlsCertificateFilePath()); + SslContext context = + GrpcSslContexts.forClient() + .trustManager(trustCertsFile) + .sslProvider(etcdConfig.getTlsProvider()) + .keyManager(certFile, keyFile) + .build(); + clientBuilder.sslContext(context); + } + + if (StringUtils.isNotEmpty(etcdConfig.getAuthority())) { + clientBuilder.authority(etcdConfig.getAuthority()); + } + } + } + + return clientBuilder.build(); + } + + private File readFile(String path) { + return StringUtils.isEmpty(path) ? null : new File(path); + } + + @Override + public void close() throws Exception { + if (isClosed.compareAndSet(false, true)) { + super.close(); + + if (sessionWatcher != null) { + sessionWatcher.close(); + } + + if (leaseClient != null) { + leaseClient.close(); + } + + if (leaseId != 0) { + client.getLeaseClient().revoke(leaseId); + } + + kv.close(); + client.close(); + } + } + + private static final GetOption EXISTS_GET_OPTION = + GetOption.newBuilder().withCountOnly(true).build(); + private static final GetOption SINGLE_GET_OPTION = GetOption.newBuilder().withLimit(1).build(); + + @Override + protected CompletableFuture existsFromStore(String path) { + return kv.get(ByteSequence.from(path, StandardCharsets.UTF_8), EXISTS_GET_OPTION) + .thenApply(gr -> gr.getCount() == 1); + } + + @Override + protected CompletableFuture storePut( + String path, byte[] data, Optional optExpectedVersion, EnumSet options) { + if (!options.contains(CreateOption.Sequential)) { + return super.storePut(path, data, optExpectedVersion, options); + } else { + // First get the version from parent + String parent = parent(path); + if (parent == null) { + parent = "/"; + } + return super.storePut( + parent, new byte[0], Optional.empty(), EnumSet.noneOf(CreateOption.class)) + // Then create the unique key with the version added in the path + .thenCompose( + stat -> super.storePut(path + stat.getVersion(), data, optExpectedVersion, options)); + } + } + + @Override + protected void batchOperation(List ops) { + try { + Txn txn = kv.txn(); + + // First, set all the conditions + for (int i = 0; i < ops.size(); i++) { + MetadataOp op = ops.get(i); + switch (op.getType()) { + case PUT: + { + OpPut put = op.asPut(); + ByteSequence key = ByteSequence.from(put.getPath(), StandardCharsets.UTF_8); + if (put.getOptExpectedVersion().isPresent()) { + long expectedVersion = put.getOptExpectedVersion().get(); + if (expectedVersion == -1L) { + // Check that key does not exist + txn.If(new Cmp(key, Cmp.Op.EQUAL, CmpTarget.createRevision(0))); + } else { + txn.If(new Cmp(key, Cmp.Op.EQUAL, CmpTarget.version(expectedVersion + 1))); + } + } + break; + } + case DELETE: + { + OpDelete del = op.asDelete(); + ByteSequence key = ByteSequence.from(del.getPath(), StandardCharsets.UTF_8); + if (del.getOptExpectedVersion().isPresent()) { + txn.If( + new Cmp( + key, + Cmp.Op.EQUAL, + CmpTarget.version(del.getOptExpectedVersion().get() + 1))); + } + break; + } + default: + break; + } + } + + // Then the requests + for (int i = 0; i < ops.size(); i++) { + MetadataOp op = ops.get(i); + switch (op.getType()) { + case GET: + { + txn.Then( + Op.get( + ByteSequence.from(op.asGet().getPath(), StandardCharsets.UTF_8), + SINGLE_GET_OPTION)); + break; + } + case PUT: + { + OpPut put = op.asPut(); + ByteSequence key = ByteSequence.from(put.getPath(), StandardCharsets.UTF_8); + if (!put.getFuture().isDone()) { + PutOption.Builder b = PutOption.newBuilder().withPrevKV(); + + if (put.isEphemeral()) { + b.withLeaseId(leaseId); + } + + txn.Then(Op.put(key, ByteSequence.from(put.getData()), b.build())); + } + break; + } + case DELETE: + { + OpDelete del = op.asDelete(); + ByteSequence key = ByteSequence.from(del.getPath(), StandardCharsets.UTF_8); + txn.Then(Op.delete(key, DeleteOption.DEFAULT)); + break; + } + case GET_CHILDREN: + { + OpGetChildren opGetChildren = op.asGetChildren(); + String path = opGetChildren.getPath(); + + ByteSequence prefix = + ByteSequence.from(path.equals("/") ? path : path + "/", StandardCharsets.UTF_8); + + txn.Then( + Op.get( + prefix, + GetOption.newBuilder() + .withKeysOnly(true) + .withSortField(GetOption.SortTarget.KEY) + .withSortOrder(GetOption.SortOrder.ASCEND) + .isPrefix(true) + .build())); + break; + } + default: + break; + } + } + + txn.commit() + .thenAccept( + txnResponse -> { + handleBatchOperationResult(txnResponse, ops); + }) + .exceptionally( + ex -> { + Throwable cause = ex.getCause(); + if (cause instanceof ExecutionException || cause instanceof CompletionException) { + cause = cause.getCause(); + } + if (ops.size() > 1 && cause instanceof StatusRuntimeException) { + Status.Code code = ((StatusRuntimeException) cause).getStatus().getCode(); + if (code == Status.Code.INVALID_ARGUMENT + || code == Status.Code.RESOURCE_EXHAUSTED) { + for (int i = 0; i < ops.size(); i++) { + batchOperation(Collections.singletonList(ops.get(i))); + } + } + } else { + log.warn("Failed to commit: {}", cause.getMessage()); + for (int i = 0; i < ops.size(); i++) { + ops.get(i).getFuture().completeExceptionally(ex); + } + } + return null; + }); + } catch (Throwable t) { + log.warn("Error in committing batch: {}", t.getMessage()); + } + } + + private void handleBatchOperationResult(TxnResponse txnResponse, List ops) { + safeExecuteCallbacks( + () -> { + if (!txnResponse.isSucceeded()) { + if (ops.size() > 1) { + // Retry individually + for (int i = 0; i < ops.size(); i++) { + batchOperation(Collections.singletonList(ops.get(i))); + } + } else { + ops.get(0) + .getFuture() + .completeExceptionally( + new MetadataStoreException.BadVersionException("Bad version")); + } + return; + } + + int getIdx = 0; + int deletedIdx = 0; + int putIdx = 0; + for (int i = 0; i < ops.size(); i++) { + MetadataOp op = ops.get(i); + switch (op.getType()) { + case GET: + { + OpGet get = op.asGet(); + GetResponse gr = txnResponse.getGetResponses().get(getIdx++); + if (gr.getCount() == 0) { + get.getFuture().complete(Optional.empty()); + } else { + KeyValue kv = gr.getKvs().get(0); + boolean isEphemeral = kv.getLease() != 0; + boolean createdBySelf = kv.getLease() == leaseId; + get.getFuture() + .complete( + Optional.of( + new GetResult( + kv.getValue().getBytes(), + new Stat( + get.getPath(), + kv.getVersion() - 1, + 0, + 0, + isEphemeral, + createdBySelf)))); + } + break; + } + case PUT: + { + OpPut put = op.asPut(); + PutResponse pr = txnResponse.getPutResponses().get(putIdx++); + KeyValue prevKv = pr.getPrevKv(); + if (prevKv == null) { + put.getFuture() + .complete(new Stat(put.getPath(), 0, 0, 0, put.isEphemeral(), true)); + } else { + put.getFuture() + .complete( + new Stat( + put.getPath(), prevKv.getVersion(), 0, 0, put.isEphemeral(), true)); + } + break; + } + case DELETE: + { + OpDelete del = op.asDelete(); + DeleteResponse dr = txnResponse.getDeleteResponses().get(deletedIdx++); + if (dr.getDeleted() == 0) { + del.getFuture() + .completeExceptionally(new MetadataStoreException.NotFoundException()); + } else { + del.getFuture().complete(null); + } + break; + } + case GET_CHILDREN: + { + OpGetChildren getChildren = op.asGetChildren(); + GetResponse gr = txnResponse.getGetResponses().get(getIdx++); + String basePath = + getChildren.getPath().equals("/") ? "/" : getChildren.getPath() + "/"; + + Set children = + gr.getKvs().stream() + .map(kv -> kv.getKey().toString(StandardCharsets.UTF_8)) + .map(p -> p.replaceFirst(basePath, "")) + // Only return first-level children + .map(k -> k.split("/", 2)[0]) + .collect(Collectors.toCollection(TreeSet::new)); + + getChildren.getFuture().complete(new ArrayList<>(children)); + } + } + } + }, + ops); + } + + private synchronized CompletableFuture createLease(boolean retryOnFailure) { + CompletableFuture future = + client + .getLeaseClient() + .grant(leaseTTLSeconds) + .thenAccept( + lease -> { + synchronized (this) { + this.leaseId = lease.getID(); + + if (leaseClient != null) { + leaseClient.close(); + } + this.leaseClient = + this.client + .getLeaseClient() + .keepAlive( + leaseId, + new StreamObserver() { + @Override + public void onNext( + LeaseKeepAliveResponse leaseKeepAliveResponse) { + if (log.isDebugEnabled()) { + log.debug("On next: {}", leaseKeepAliveResponse); + } + } + + @Override + public void onError(Throwable throwable) { + log.warn("Lease client error :", throwable); + receivedSessionEvent(SessionEvent.SessionLost); + } + + @Override + public void onCompleted() { + log.info("Etcd lease has expired"); + receivedSessionEvent(SessionEvent.SessionLost); + } + }); + } + }); + + if (retryOnFailure) { + future.exceptionally( + ex -> { + log.warn("Failed to create Etcd lease. Retrying later", ex); + scheduleDelayedTask(1, TimeUnit.SECONDS, () -> createLease(true)); + return null; + }); + } + + return future; + } + + private void handleWatchResponse(WatchResponse watchResponse) { + for (WatchEvent we : watchResponse.getEvents()) { + String path = we.getKeyValue().getKey().toString(StandardCharsets.UTF_8); + if (we.getEventType() == WatchEvent.EventType.PUT) { + if (we.getKeyValue().getVersion() == 1) { + receivedNotification(new Notification(NotificationType.Created, path)); + notifyParentChildrenChanged(path); + } else { + receivedNotification(new Notification(NotificationType.Modified, path)); + } + } else if (we.getEventType() == WatchEvent.EventType.DELETE) { + receivedNotification(new Notification(NotificationType.Deleted, path)); + notifyParentChildrenChanged(path); + } + } + } + + @Override + protected void receivedSessionEvent(SessionEvent event) { + if (event == SessionEvent.SessionReestablished) { + // Re-create the lease before notifying that we are reconnected + createLease(true).thenRun(() -> super.receivedSessionEvent(event)); + } else { + super.receivedSessionEvent(event); + } + } +} + +@AllArgsConstructor +@NoArgsConstructor +@Data +@Builder +class EtcdConfig { + private boolean useTls; + + private SslProvider tlsProvider; + private String tlsTrustCertsFilePath; + private String tlsKeyFilePath; + private String tlsCertificateFilePath; + + private String authority; +} diff --git a/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.java b/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.java new file mode 100644 index 0000000..f3ec39a --- /dev/null +++ b/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.java @@ -0,0 +1,46 @@ +/* + * Licensed 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 org.apache.pulsar.metadata.impl; + +import org.apache.pulsar.metadata.api.MetadataStore; +import org.apache.pulsar.metadata.api.MetadataStoreConfig; +import org.apache.pulsar.metadata.api.MetadataStoreException; +import org.apache.pulsar.metadata.api.MetadataStoreProvider; + +/** + * Etcd metadata store provider plugin. + * + *

To use this provider, add the shaded jar to the Pulsar classpath and configure the system + * property: + * + *

+ * -Dpulsar.metadata.store.providers=org.apache.pulsar.metadata.impl.EtcdMetadataStoreProvider
+ * 
+ * + *

Then use {@code etcd:} URLs for your metadata store configuration. + */ +public class EtcdMetadataStoreProvider implements MetadataStoreProvider { + + @Override + public String urlScheme() { + return EtcdMetadataStore.ETCD_SCHEME; + } + + @Override + public MetadataStore create( + String metadataURL, MetadataStoreConfig metadataStoreConfig, boolean enableSessionWatcher) + throws MetadataStoreException { + return new EtcdMetadataStore(metadataURL, metadataStoreConfig, enableSessionWatcher); + } +} diff --git a/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdSessionWatcher.java b/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdSessionWatcher.java new file mode 100644 index 0000000..20b237f --- /dev/null +++ b/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdSessionWatcher.java @@ -0,0 +1,163 @@ +/* + * Licensed 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 org.apache.pulsar.metadata.impl; + +import static org.apache.pulsar.common.util.Runnables.catchingAndLoggingThrowables; +import io.etcd.jetcd.ByteSequence; +import io.etcd.jetcd.Client; +import io.netty.util.concurrent.DefaultThreadFactory; +import java.nio.charset.StandardCharsets; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.Executors; +import java.util.concurrent.RejectedExecutionException; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; +import java.util.function.Consumer; +import lombok.extern.slf4j.Slf4j; +import org.apache.pulsar.metadata.api.extended.SessionEvent; + +/** Monitor the Etcd session state every few seconds and send notifications. */ +@Slf4j +public class EtcdSessionWatcher implements AutoCloseable { + private final Client client; + + private SessionEvent currentStatus; + private final Consumer sessionListener; + + // Maximum time to wait for Etcd lease to be re-connected to quorum (set to 5/6 of + // SessionTimeout) + private final long monitorTimeoutMillis; + + // Interval at which we check the state of the Etcd connection (set to 1/15 of SessionTimeout) + private final long tickTimeMillis; + + private final ScheduledExecutorService scheduler; + private final ScheduledFuture task; + + private long disconnectedAt = 0; + + public EtcdSessionWatcher( + Client client, long sessionTimeoutMillis, Consumer sessionListener) { + this.client = client; + this.monitorTimeoutMillis = sessionTimeoutMillis * 5 / 6; + this.tickTimeMillis = sessionTimeoutMillis / 15; + this.sessionListener = sessionListener; + + this.scheduler = + Executors.newSingleThreadScheduledExecutor( + new DefaultThreadFactory("metadata-store-etcd-session-watcher")); + this.task = + scheduler.scheduleAtFixedRate( + catchingAndLoggingThrowables(this::checkConnectionStatus), + tickTimeMillis, + tickTimeMillis, + TimeUnit.MILLISECONDS); + this.currentStatus = SessionEvent.SessionReestablished; + } + + @Override + public void close() throws Exception { + task.cancel(true); + scheduler.shutdownNow(); + scheduler.awaitTermination(10, TimeUnit.SECONDS); + } + + // task that runs every TICK_TIME to check Etcd connection + private synchronized void checkConnectionStatus() { + try { + CompletableFuture future = new CompletableFuture<>(); + client + .getKVClient() + .get(ByteSequence.from("/".getBytes(StandardCharsets.UTF_8))) + .thenRun( + () -> { + future.complete(SessionEvent.Reconnected); + }) + .exceptionally( + ex -> { + future.complete(SessionEvent.ConnectionLost); + return null; + }); + + SessionEvent etcdClientState; + try { + etcdClientState = future.get(tickTimeMillis, TimeUnit.MILLISECONDS); + } catch (TimeoutException e) { + // Consider etcd disconnection if etcd operation takes more than TICK_TIME + etcdClientState = SessionEvent.ConnectionLost; + } + + checkState(etcdClientState); + } catch (RejectedExecutionException | InterruptedException e) { + task.cancel(true); + } catch (Throwable t) { + log.warn("Error while checking Etcd connection status", t); + } + } + + synchronized void setSessionInvalid() { + currentStatus = SessionEvent.SessionLost; + } + + private void checkState(SessionEvent etcdClientState) { + switch (etcdClientState) { + case SessionLost: + if (currentStatus != SessionEvent.SessionLost) { + log.error("Etcd lease has expired"); + currentStatus = SessionEvent.SessionLost; + sessionListener.accept(currentStatus); + } + break; + + case ConnectionLost: + if (disconnectedAt == 0) { + disconnectedAt = System.nanoTime(); + } + + long timeRemainingMillis = + monitorTimeoutMillis + - TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - disconnectedAt); + if (timeRemainingMillis <= 0 && currentStatus != SessionEvent.SessionLost) { + log.error("Etcd lease keep-alive timeout. Notifying session is lost."); + currentStatus = SessionEvent.SessionLost; + sessionListener.accept(currentStatus); + } else if (currentStatus != SessionEvent.SessionLost) { + log.warn( + "Etcd client is disconnected. Waiting to reconnect, time remaining = {} seconds", + timeRemainingMillis / 1000.0); + if (currentStatus == SessionEvent.SessionReestablished) { + currentStatus = SessionEvent.ConnectionLost; + sessionListener.accept(currentStatus); + } + } + break; + + default: + if (currentStatus != SessionEvent.SessionReestablished) { + log.info( + "Etcd client reconnection with server quorum. Current status: {}", currentStatus); + disconnectedAt = 0; + + sessionListener.accept(SessionEvent.Reconnected); + if (currentStatus == SessionEvent.SessionLost) { + sessionListener.accept(SessionEvent.SessionReestablished); + } + currentStatus = SessionEvent.SessionReestablished; + } + break; + } + } +} diff --git a/pulsar-metadata-etcd-contrib/src/test/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreTest.java b/pulsar-metadata-etcd-contrib/src/test/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreTest.java new file mode 100644 index 0000000..ddb8714 --- /dev/null +++ b/pulsar-metadata-etcd-contrib/src/test/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreTest.java @@ -0,0 +1,172 @@ +/* + * Licensed 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 org.apache.pulsar.metadata.impl; + +import static org.testng.Assert.assertEquals; +import static org.testng.Assert.assertFalse; +import static org.testng.Assert.assertTrue; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; +import com.google.common.io.Resources; +import io.etcd.jetcd.launcher.EtcdCluster; +import io.etcd.jetcd.test.EtcdClusterExtension; +import java.net.URI; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.List; +import java.util.Optional; +import java.util.stream.Collectors; +import lombok.Cleanup; +import lombok.extern.slf4j.Slf4j; +import org.apache.pulsar.metadata.api.GetResult; +import org.apache.pulsar.metadata.api.MetadataStore; +import org.apache.pulsar.metadata.api.MetadataStoreConfig; +import org.apache.pulsar.metadata.api.MetadataStoreException; +import org.testng.annotations.Test; + +@Slf4j +public class EtcdMetadataStoreTest { + + private String getMetadataUrl(EtcdCluster etcdCluster) { + return "etcd:" + + etcdCluster.clientEndpoints().stream() + .map(URI::toString) + .collect(Collectors.joining(",")); + } + + private MetadataStore createStore(EtcdCluster etcdCluster) throws MetadataStoreException { + String metadataURL = getMetadataUrl(etcdCluster); + return new EtcdMetadataStore(metadataURL, MetadataStoreConfig.builder().build(), true); + } + + @Test + public void testBasicOperations() throws Exception { + @Cleanup + EtcdCluster etcdCluster = + EtcdClusterExtension.builder() + .withClusterName("test-basic") + .withNodes(1) + .withSsl(false) + .build() + .cluster(); + etcdCluster.start(); + + @Cleanup MetadataStore store = createStore(etcdCluster); + + // Test put and get + store.put("/test", "value".getBytes(StandardCharsets.UTF_8), Optional.empty()).join(); + assertTrue(store.exists("/test").join()); + + Optional result = store.get("/test").join(); + assertTrue(result.isPresent()); + assertEquals(new String(result.get().getValue(), StandardCharsets.UTF_8), "value"); + + // Test update + store + .put( + "/test", + "value2".getBytes(StandardCharsets.UTF_8), + Optional.of(result.get().getStat().getVersion())) + .join(); + result = store.get("/test").join(); + assertTrue(result.isPresent()); + assertEquals(new String(result.get().getValue(), StandardCharsets.UTF_8), "value2"); + + // Test delete + store.delete("/test", Optional.empty()).join(); + assertFalse(store.exists("/test").join()); + } + + @Test + public void testGetChildren() throws Exception { + @Cleanup + EtcdCluster etcdCluster = + EtcdClusterExtension.builder() + .withClusterName("test-children") + .withNodes(1) + .withSsl(false) + .build() + .cluster(); + etcdCluster.start(); + + @Cleanup MetadataStore store = createStore(etcdCluster); + + store.put("/parent/child1", "v1".getBytes(StandardCharsets.UTF_8), Optional.empty()).join(); + store.put("/parent/child2", "v2".getBytes(StandardCharsets.UTF_8), Optional.empty()).join(); + store.put("/parent/child3", "v3".getBytes(StandardCharsets.UTF_8), Optional.empty()).join(); + + List children = store.getChildren("/parent").join(); + assertEquals(children.size(), 3); + assertTrue(children.contains("child1")); + assertTrue(children.contains("child2")); + assertTrue(children.contains("child3")); + } + + @Test + public void testCluster() throws Exception { + @Cleanup + EtcdCluster etcdCluster = + EtcdClusterExtension.builder() + .withClusterName("test-cluster") + .withNodes(3) + .withSsl(false) + .build() + .cluster(); + etcdCluster.start(); + + @Cleanup MetadataStore store = createStore(etcdCluster); + + store.put("/test", "value".getBytes(StandardCharsets.UTF_8), Optional.empty()).join(); + assertTrue(store.exists("/test").join()); + } + + @Test + public void testClusterWithTls() throws Exception { + @Cleanup + EtcdCluster etcdCluster = + EtcdClusterExtension.builder() + .withClusterName("test-cluster-tls") + .withNodes(3) + .withSsl(true) + .build() + .cluster(); + etcdCluster.start(); + + EtcdConfig etcdConfig = + EtcdConfig.builder() + .useTls(true) + .tlsProvider(null) + .authority("etcd0") + .tlsTrustCertsFilePath(Resources.getResource("ssl/cert/ca.pem").getPath()) + .tlsKeyFilePath(Resources.getResource("ssl/cert/client-key-pk8.pem").getPath()) + .tlsCertificateFilePath(Resources.getResource("ssl/cert/client.pem").getPath()) + .build(); + + Path etcdConfigPath = Files.createTempFile("etcd_config_cluster_ssl", ".yml"); + new ObjectMapper(new YAMLFactory()).writeValue(etcdConfigPath.toFile(), etcdConfig); + + String metadataURL = getMetadataUrl(etcdCluster); + + @Cleanup + MetadataStore store = + new EtcdMetadataStore( + metadataURL, + MetadataStoreConfig.builder().configFilePath(etcdConfigPath.toString()).build(), + true); + + store.put("/test", "value".getBytes(StandardCharsets.UTF_8), Optional.empty()).join(); + assertTrue(store.exists("/test").join()); + } +} diff --git a/pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/ca.pem b/pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/ca.pem new file mode 100644 index 0000000..34a8593 --- /dev/null +++ b/pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/ca.pem @@ -0,0 +1,18 @@ +-----BEGIN CERTIFICATE----- +MIIC6jCCAdKgAwIBAgIUXHRN1WrCXk813Zz/mWdg3YAu9OIwDQYJKoZIhvcNAQEL +BQAwDTELMAkGA1UEAxMCQ0EwHhcNMjIwNDI5MDQyMjAwWhcNMjcwNDI4MDQyMjAw +WjANMQswCQYDVQQDEwJDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB +AMlF30dWtxQLGGo55GGAElYLzgWPY4ha1njX4vR2bAxesbOft73pqWeRWMPbJsyQ +cUcFe6+oPEyW11uFdNw647pN2PVUmX5Obsmlk97c69LmFe4WEfZDN0cm4pjdXG7V +BCyuyyr3YN2PoB67xT00NyNIK1yOIHghnw4dO5j2BZh/EqrQGNtqiW/LBQWiKu+n +bLbipl+eWmxCVl0BuQdgl8bmGGrHsncwCTZPMvsxHyVWbOKVoDXAuAqM40HJdjbK +JF/DyBPzmgsSMGmwcNTjRRx3ApRcFu4p154qdX2BPknut+PFOrDlcArdsExmJwST +qi2cNb7mWWF1FMHYKdGPuqUCAwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1Ud +EwEB/wQFMAMBAf8wHQYDVR0OBBYEFB0oynraPRsiMaCbp4VFErPtqn79MA0GCSqG +SIb3DQEBCwUAA4IBAQAsOdb6+QjABRa7LMIERRy45V1l3lVy04WzLUWEGOeakakE +I58NDopYY2NDfGPi/gPkErAo8Jo8ruRKPccguHlTYGTwjUBjKGBSySMpalw5DhN0 +iygHdKh9qzqL1ChqcQsQPlmhKgsAYkZyQzD2Gh6c/GpNMe6/NUmjlg0KcnKY3+Vx +kzy3qWXxiNfSywJlbk6UVWOy0cCxHV+fE0gzy+DgNrcWm6euSPAD4Qz8kXvQKevB +syTpCxqsKNKG+aVZDoW2BTyrROnnk/lqZQ7k4sKZTcYgTrpNSgylbg7rxVqOIyBk +G+jAW18vmOlsZpXE306Pqsng6csUJ3IXoHqaBbrm +-----END CERTIFICATE----- diff --git a/pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/client-key-pk8.pem b/pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/client-key-pk8.pem new file mode 100644 index 0000000..a7fec9b --- /dev/null +++ b/pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/client-key-pk8.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC/RbW6dJqk2+BN +SZKAs1M0RQt6PrhIHHhxBBPXFM3XOqKwacrQihuZQSGLgaxfzXbRejwQ9VBg5Ia/ +tOokwDY3tK9Kp4J0bsqgNXZKTRYtnJ4JYh9566jsD47Qpj6xuQZmo3b1QKLEh+Fh +9buWTEvvdUY8AQTASwvOGAWyzrZgaKuagQQNkZ49TM8gtsy9uJPWS2PZQpW/qk56 +5jRck8Xb8COQ0QV2wPiqwmEtA7/jEeQViQ49HLdfBTi90Hh4Q8XBv8TPW+sQpN5R +5fvZEz+iwrGm20kIrtVQ+hMCkbywTlA5rSGW7onnakDyqybt10dBzn609/wg5Dee +LjMZ3dEvAgMBAAECggEAR1r5NcsEWhZQ8mRNDEhZ9PkBFCTL2NMON5M+15FCTVXp +lYiSCgRL0XuTyRiiNsdO2U0RlX3+83atsl0KsJUoZNW6Q06Eg21FmEj5jTR+3ps7 +9eIuPeylgxM2wy4R23lcIvQ+j7YCQv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KOAteL/07xtDEi +-----END PRIVATE KEY----- diff --git a/pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/client.pem b/pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/client.pem new file mode 100644 index 0000000..6e3d149 --- /dev/null +++ b/pulsar-metadata-etcd-contrib/src/test/resources/ssl/cert/client.pem @@ -0,0 +1,20 @@ +-----BEGIN CERTIFICATE----- +MIIDPDCCAiSgAwIBAgIUdYkf8VBmJYG6HvKxh84BHYaTIH8wDQYJKoZIhvcNAQEL +BQAwDTELMAkGA1UEAxMCQ0EwIBcNMjIwNDI5MDQyMjAwWhgPMjEyMjA0MDUwNDIy +MDBaMBExDzANBgNVBAMTBmNsaWVudDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC +AQoCggEBAL9Ftbp0mqTb4E1JkoCzUzRFC3o+uEgceHEEE9cUzdc6orBpytCKG5lB +IYuBrF/NdtF6PBD1UGDkhr+06iTANje0r0qngnRuyqA1dkpNFi2cngliH3nrqOwP +jtCmPrG5BmajdvVAosSH4WH1u5ZMS+91RjwBBMBLC84YBbLOtmBoq5qBBA2Rnj1M +zyC2zL24k9ZLY9lClb+qTnrmNFyTxdvwI5DRBXbA+KrCYS0Dv+MR5BWJDj0ct18F +OL3QeHhDxcG/xM9b6xCk3lHl+9kTP6LCsabbSQiu1VD6EwKRvLBOUDmtIZbuiedq +QPKrJu3XR0HOfrT3/CDkN54uMxnd0S8CAwEAAaOBjTCBijAOBgNVHQ8BAf8EBAMC +BaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwGA1UdEwEB/wQCMAAw +HQYDVR0OBBYEFB/UlCHqPmkA3xcYzddO9kD1w8o1MB8GA1UdIwQYMBaAFB0oynra +PRsiMaCbp4VFErPtqn79MAsGA1UdEQQEMAKCADANBgkqhkiG9w0BAQsFAAOCAQEA +AneFIIHBZ21J24+lln995ofX+92Yeu528IVy1WJtTGIpHVN6Fc+jZbsAZqzdhDDd +q9pKawKlDR2bW6mg7ItF2coYprMoLtHeFAwSUIg5WcMFUgGHxITFDQlscD2mR54Y +I1otVWegrL2PDyKs2uk5B4Jwm+O/0fbyG+D3FIje9y++gh6Oqi/uwn8YUgnLl/4e +Yf8POmMrUcOmJn4tXX4y6HtacNR3n0leby8T1dBShNAESuBdmEo8bmgAADh/brfP +kzGHBdO+AyHEs87TRMZ4ofhspM6m1ZNyazy861xhoYjUcjIoD4vaVsEGIRT9/2HM +4l8oq0OyarhZRLIpJ11SJQ== +-----END CERTIFICATE----- diff --git a/pulsar-metadata-etcd-contrib/target/.plxarc b/pulsar-metadata-etcd-contrib/target/.plxarc new file mode 100644 index 0000000..67ea6ee --- /dev/null +++ b/pulsar-metadata-etcd-contrib/target/.plxarc @@ -0,0 +1 @@ +maven-shared-archive-resources \ No newline at end of file diff --git a/pulsar-metadata-etcd-contrib/target/classes/META-INF/DEPENDENCIES b/pulsar-metadata-etcd-contrib/target/classes/META-INF/DEPENDENCIES new file mode 100644 index 0000000..adeaee5 --- /dev/null +++ b/pulsar-metadata-etcd-contrib/target/classes/META-INF/DEPENDENCIES @@ -0,0 +1,99 @@ +// ------------------------------------------------------------------ +// Transitive dependencies of this project determined from the +// maven pom organized by organization. +// ------------------------------------------------------------------ + +Pulsar Metadata Etcd Contrib + + +From: 'an unknown organization' + - Google Android Annotations Library (http://source.android.com/) com.google.android:annotations:jar:4.1.1.4 + License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + - FindBugs-jsr305 (http://findbugs.sourceforge.net/) com.google.code.findbugs:jsr305:jar:3.0.2 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Gson (https://github.com/google/gson/gson) com.google.code.gson:gson:jar:2.8.9 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Guava InternalFutureFailureAccess and InternalFutures (https://github.com/google/guava/failureaccess) com.google.guava:failureaccess:bundle:1.0.2 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Guava: Google Core Libraries for Java (https://github.com/google/guava) com.google.guava:guava:bundle:33.0.0-jre + License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Guava ListenableFuture only (https://github.com/google/guava/listenablefuture) com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Protocol Buffers [Core] (https://developers.google.com/protocol-buffers/protobuf-java/) com.google.protobuf:protobuf-java:jar:3.24.0 + License: BSD-3-Clause (https://opensource.org/licenses/BSD-3-Clause) + - Protocol Buffers [Util] (https://developers.google.com/protocol-buffers/protobuf-java-util/) com.google.protobuf:protobuf-java-util:jar:3.25.5 + License: BSD-3-Clause (https://opensource.org/licenses/BSD-3-Clause) + - Failsafe (https://failsafe.dev/failsafe) dev.failsafe:failsafe:jar:3.3.2 + License: Apache License, Version 2.0 (http://apache.org/licenses/LICENSE-2.0) + - jetcd-api (https://github.com/etcd-io/jetcd) io.etcd:jetcd-api:jar:0.7.7 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - jetcd-common (https://github.com/etcd-io/jetcd) io.etcd:jetcd-common:jar:0.7.7 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - jetcd-core (https://github.com/etcd-io/jetcd) io.etcd:jetcd-core:jar:0.7.7 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - jetcd-grpc (https://github.com/etcd-io/jetcd) io.etcd:jetcd-grpc:jar:0.7.7 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - io.grpc:grpc-api (https://github.com/grpc/grpc-java) io.grpc:grpc-api:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-context (https://github.com/grpc/grpc-java) io.grpc:grpc-context:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-core (https://github.com/grpc/grpc-java) io.grpc:grpc-core:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-grpclb (https://github.com/grpc/grpc-java) io.grpc:grpc-grpclb:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-netty-shaded (https://github.com/grpc/grpc-java) io.grpc:grpc-netty-shaded:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-protobuf (https://github.com/grpc/grpc-java) io.grpc:grpc-protobuf:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-protobuf-lite (https://github.com/grpc/grpc-java) io.grpc:grpc-protobuf-lite:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-stub (https://github.com/grpc/grpc-java) io.grpc:grpc-stub:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-util (https://github.com/grpc/grpc-java) io.grpc:grpc-util:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - perfmark:perfmark-api (https://github.com/perfmark/perfmark) io.perfmark:perfmark-api:jar:0.26.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - Checker Qual (https://checkerframework.org/) org.checkerframework:checker-qual:jar:3.41.0 + License: The MIT License (http://opensource.org/licenses/MIT) + - Project Lombok (https://projectlombok.org) org.projectlombok:lombok:jar:1.18.32 + License: The MIT License (https://projectlombok.org/LICENSE) + - SnakeYAML (https://bitbucket.org/snakeyaml/snakeyaml) org.yaml:snakeyaml:bundle:2.2 + License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'Eclipse' + - Vert.x Core (http://nexus.sonatype.org/oss-repository-hosting.html/vertx-parent/vertx-core) io.vertx:vertx-core:jar:4.5.1 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) License: Eclipse Public License - v 2.0 (http://www.eclipse.org/legal/epl-v20.html) + - Vert.x gRPC (http://nexus.sonatype.org/oss-repository-hosting.html/vertx-parent/vertx-ext/vertx-ext-parent/vertx-grpc-parent/vertx-grpc) io.vertx:vertx-grpc:jar:4.5.1 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) License: Eclipse Public License - v 1.0 (http://www.eclipse.org/legal/epl-v10.html) + +From: 'FasterXML' (http://fasterxml.com/) + - Jackson-annotations (https://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Jackson-core (https://github.com/FasterXML/jackson-core) com.fasterxml.jackson.core:jackson-core:jar:2.17.2 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - jackson-databind (https://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-databind:jar:2.17.2 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Jackson-dataformat-YAML (https://github.com/FasterXML/jackson-dataformats-text) com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.17.2 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'Google LLC' (http://www.google.com) + - error-prone annotations (https://errorprone.info/error_prone_annotations) com.google.errorprone:error_prone_annotations:jar:2.20.0 + License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'Google LLC' + - proto-google-common-protos (https://github.com/googleapis/sdk-platform-java) com.google.api.grpc:proto-google-common-protos:jar:2.22.0 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'MojoHaus' (https://www.mojohaus.org) + - Animal Sniffer Annotations (https://www.mojohaus.org/animal-sniffer/animal-sniffer-annotations) org.codehaus.mojo:animal-sniffer-annotations:jar:1.24 + License: MIT license (https://spdx.org/licenses/MIT.txt) + +From: 'QOS.ch' (http://www.qos.ch) + - SLF4J API Module (http://www.slf4j.org) org.slf4j:slf4j-api:jar:2.0.13 + License: MIT License (http://www.opensource.org/licenses/mit-license.php) + - SLF4J Simple Provider (http://www.slf4j.org) org.slf4j:slf4j-simple:jar:2.0.13 + License: MIT License (http://www.opensource.org/licenses/mit-license.php) + + + + diff --git a/pulsar-metadata-etcd-contrib/target/classes/META-INF/LICENSE b/pulsar-metadata-etcd-contrib/target/classes/META-INF/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/pulsar-metadata-etcd-contrib/target/classes/META-INF/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/pulsar-metadata-etcd-contrib/target/classes/META-INF/NOTICE b/pulsar-metadata-etcd-contrib/target/classes/META-INF/NOTICE new file mode 100644 index 0000000..fd39e2b --- /dev/null +++ b/pulsar-metadata-etcd-contrib/target/classes/META-INF/NOTICE @@ -0,0 +1,8 @@ + +Pulsar Metadata Etcd Contrib +Copyright 2025-2022 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig$EtcdConfigBuilder.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig$EtcdConfigBuilder.class new file mode 100644 index 0000000000000000000000000000000000000000..b175f986e2454259cd94fba7b1a3492d24744fbd GIT binary patch literal 2611 zcmb_d-BKGj6#nE87MyJePJkpN6k3wnPRjN_Z4IQs4JE-%GBrb|^h(&mR#lj?Vcco%8AF?|)wX1z-h@A__QXVZ_FH zj51t$&JVfca0jU^6WHLC4`e-s%dc7rKfE z&VkUp%{6!ALCQ=k%dwa68I1txD>9$2c(4i7ru3}(22Kb_l30z{hpk4JW@DF8V zbgv>Ogv($ZgujjB&e2ZkwWiY;O>+*|=_&rfJE5$vxTPTBJ>G*tls- z#(Ai_ejs(tt&&nDVJ;EFf5h-3lzn2O#8>Iyh6Si`Y;rmei*c(H%kxM)TM8e zqSe%XAeM{^;XDyaZ}>_R;n#d$D;@A28Fu})ni$1u5%=+xg$IVjYYdBnjih(z?+YhB zMa=7U-XiEe!>{RBC5AERMpVbtV#D|M!(J_W@Ra6+<5s^Xa?F2B+2_2&1ftGew<)!# zjp1vCUj{{bX&@%`x*S*Q6?S(%RiKk;wz?(@srs2{a>}Mzd0j16ScSoUY)+$)S-MP4y+%?<5qkM7>!?;RY>(z#{{EfDdU#A0IxV-ZPDO$XwU}UB)MQK$AlQnTQ#nnS7wBp@B@u z4bb&`psPaznVcD*oB2SqLj#$l8=z0|8TBS>kBK@aqw{}a?uY6TCGLn~euPPCQ`D|f zn|+D-{B*`_n19WNd-y!T-Hcg-1@ezD|G>K>o`8LY3h*Z2g#>s6Uqo#Bl1OG)HHT#y a&B0fw)$x#KCDM=4$~tlS8$7}$uKf#zB!pN1 literal 0 HcmV?d00001 diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig.class new file mode 100644 index 0000000000000000000000000000000000000000..0286f68d7c97076424be081cd49e97773b7ad532 GIT binary patch literal 4836 zc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AmPiM4r5G;tA$3NRl+60%ze30|xWCLhV)FoS0(ukB z#AxkH5iA{p?IRDaMqr~IypK;{L?SG*&`yF|e}T=KEF|zKNN?+{3*%aFQ3In=7g7s< zz|$Pg@pGP^8GcId;ETY)%OtG9@ai6oQl!CSt)<|j!BOKz3Ol42Mtp;x@3OhTw?v9` P4&P^Ey@FTqL*)MhR+k4d literal 0 HcmV?d00001 diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$1.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$1.class new file mode 100644 index 0000000000000000000000000000000000000000..e57e85422ed1881794fd4fbee74fbf01e07d6aa7 GIT binary patch literal 2072 zcmbW2&2k$>5Xb*5*_I`36k%*R5IzJLqK}Zp*a^fk2II&{h-`ypd`Q7zw3yuX&gB+@BlEM#F3@_XVy*q%@wd#kl4osjX%u5!Z_Lb6omfO9yXLf*m?m?F%d z*&$;*zeAXcVhy}|i+gs%?{uWDWigGJ6bcq*ae+fI>|p~!&JAwJR=-nMqUFhU6w=*E zJWa@MsiKk(!lmM;pBc_G7M{g(gz>hqCtNBujx%e9+Ety}(33%~wes#HiiGKg6oD){ zo-0*Ylv?|`xMZj=T6hU_gt7ZVD?(*7bf>HR`zBE4rtu0crBJd^Muo6ALO0QKZO%lh zwrtx?83eAc>IWPNXBpo%{DAMSjVkwJDO~X!E?amNS2$BG9qAs(_DMh2OaBjT^y5A( zm^LkXk%(Op6y<}St7Y3L__~D!EV6>Gy5|#SPEoMDo5D2~*Y$159D6VNjc9gMm^)JT zRy~e-TLwK}1v0}^^rnUDSmJK=)h4S)uuF~qPT&fquuQnfTROVu*g@ED+1w{m>~FOK zsSl)P!AHt+`hYT-vt9Gsl5oD^D!JL;Z%Msl`XZVFM|itJyXHQAIA-RVaCKA-PIopp zUt{$nss1Gr;qqAoA)IT5!ue!F^y08m+=gZp2p5K{Hr(Zebofuxb8&|T?AVIC*jH;l zpJp;NBYdI-j^>a_O}C>&*w-x6$3vvp#N_h0N-duy(G`{~)Aak=k?XFhNz}b34%sW_ z=-~3zmE-vVA07N}*Kb?cMw8QVxJyDAwI-ojx?3JZ+YepOc6{aZwdU!yQ|u3 z*GPTAcL}`BzY}Z&`T_6obzxwIRlLi0Y#-5xEqGpH)<;N2RHggH@!HW4eIShf|2s1D2d3%I z2yYO)ae&XSvOITU=mJ9%{9n3K{SH?j;f>=shm{@x(s6v_Xz-Q(>F+O}h Rz)tiehYxwpuoDC4&)+yB8xa5i literal 0 HcmV?d00001 diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$2.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$2.class new file mode 100644 index 0000000000000000000000000000000000000000..6c6ffee9d862658b61570da1f845005191cecc02 GIT binary patch literal 1042 zcmbVL+iuf95Ivi?aS~h_LP^tdD_|g@P}3j~0*XM1LnCrQB$S6fppCt1TpT;Hog#jR z7oGtLA%yw?`~-i3m~|5h;sK~-?d%z?&z>_g{`&p%9)NXJvPdAQLeVgT6vJ&l*f#ix zTLWQ?#%{<1V<;kS^N1VHaO4_&9$5p&+csL0bZ4aZUXKJrYL~lX5i+co%3ICD^4!fJ zjf{${h9l4zZv2hNj4XSqr5pKy&?^j8z5B``p)Eeri9p|Xr0+Y@r;c>#NS`{=rz}4m zCAJzFD$h|3bI36ypFHa^+&R28S?j!p=<&WwnS9f?xVy;%N8(9xwi|Kl zB^7vrvt552SfcL8FA9HjWmO6wa?`V1KcoSoY7cx{#Z`v2|L!rVZ;LS6@Ix}9H9SuQ zRhNgM2vuDFhoPDF{Ff;v|8kCV%QSz>^lz|SQBI)TQRX}@P}B*%L6UYr{S(;Um+S|q z@8vuD5yzCyTPTlXxIl2`04@PX1*D&=bfWe9LY$@eR2f$&Dp;ZQTAW$ID#bi8Bw%3e!6JF1Czt*K DzoQ7T literal 0 HcmV?d00001 diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore.class new file mode 100644 index 0000000000000000000000000000000000000000..fa7eae4710b75f89d731ca16a01638bd65437287 GIT binary patch literal 27039 zcmcJ234B~t_5V5dzT_p7*EUTT8rnjD0BxE!bOjP9ZPT<(w?LCNv=z!UnWjT0nJ_cy z07P?iGIq(zFND4U|9qCZhYL_~1`K|rAY@44^I%$vzHUGxv1_Px39 z-gD1A_w0A+(;x48jEGLPwggC#w#jm+fC`x!qOp#eV0W->eW<3pClU|FYC1!SV0$nT ztO<8^M{3pv6K(6mT^%*E*TxgEU|V926olHBc(s}n(O8J7@RV>@I5Csy#BqxU02%BK z*JQP3CEfA zxbcm}G?<3iRO--BDr1^FKo4f*4T-kgQ4WcOg7HvG%i`uxTePbkfVnXMu)`f1K_i(4 zb%i!bv-(Il)Rka5d)(r4gByc2kst`zoQQ#rb%#Wr#o=g82!LzOHGjMC>tsZu94e>7 zF#&B}pCj|vEuk?q)}|vII+7}whUWvwR00YvT9HD3__*;oz!t4AogVGbF;vNt9DYJINkKiVA5`bWunXw6tq;cH zp#}n6j+Uwoln1q7mE%Vl##B{hzZGUC2QeA+i&{UhIIW(PSpl0^)=WI!YnnUOH zgu2?m%htMBw3BIJzRBx{O{#-jO8G&e_mk*kn`#}Zqf;=Z?B1i@32BkiFW)5Lxx%hRUPtB&4g(rGr$a%eWqVH&^R-cl`@io)^JW1)57%}kTVt;!wK z{yLrOPy@}we5@73nT|aWwCl>Cm=-wHNDINm!M3(gHza4-fNCVaeAbP3=f5Wrj?}E{ z>1q?Q)6H`l=}*!i?avmieTNsfstDwdgV-qR?;en zZ`@U=ULQ=;22x=Azzi%om_FgqS#&mZOj|4zOoSGTDrK4=Y-Xg&OdHf{TTd(o?TLwl z{ehKP8wt(pN%X`*fN~B6ZCdM48-cx!JFsRD=yRjtF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eKZ|Jal`GZYG~_V#^Z4P{#p3SsI;24w z3ERk*0$8j(dSJVOlBA)AS4}`juS2`^Is_J877FD)uZDhR;7jHxPpZ(ArSe6?)A^#| zZobHT-3#hKHe?~x>wP{5CbCfmetbaeh-KTWyE^zC|7Wk$!4k#;zHgJxmn z#?oouY`&or(J^I%dv)|7g^U>z0=fqYfQR@<{0JoVX7l4=p(2~SnLBkY(1g8+W_KY1 z>LbgN=~PyMB_l4xojYQ_cqFEuoigr8m-0N+Y;~Xbn6Uj zx#_djS_w>Vr{VYqQBJZ}QMt967F%Z(;$}vaQ)v-4t(RoNEnN@C`!`EAD zQLhcp5T5J!UTZz#wP*NA(>{#f8&Dp>vx~}MnLd)VAZL~I1`TqmnWX=`< literal 0 HcmV?d00001 diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.class new file mode 100644 index 0000000000000000000000000000000000000000..94be12e4670903b7ed4ca0051188ac9fc4945f58 GIT binary patch literal 1119 zcmb_bTTc@~6#k~Wu+Ub~f_FhtF$K|$i9VRBF9aVb5cg z&I&x303UNbLNcwbtgQqVnmSc4d)<~YZ)7W>q}I%0ne0lV-FqnX?Y=GqCgwRg)`q}* z&m~K|9%qsXPsb zfR#|GD|DoaLTBkaX;~p7Aoc{x+n-{UTZ)SSHw7L})9Pa^?L=A6#Oj%L{aqOw^U+Y; zbE#q#r@36*DQ=oa&IKc_@fDH_@|lezh%da9ut@5@LD&*$b)bNAIM0{B1zaR`;Jf5b z&#TRUCOZjTI|22Mp_g!(S`Hd92A{n04Z-_6o6AS2{B2^hZ(?JhHZ(y1uHb6lYX!?# Xp*bhJhU-jhm3Nfgc5Ph4tagw@iD20Ub(L&uexnO}165{I+r6M9p4?*prr;WWzHg&wwdK36Z zoB;_Tg!%*cQHWVL6+(y}DtUM2&3ec0JtG@bkGSDfmVx+S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j?M&@V;Gx}KY$uu_btXw#`_S~ z;~lsdR}o5A^Dgrmq;V~;+OEURxSm%+H_-SuGCl6X2yWuZdKaGN%(J)!&*N773b*5B z+=174!E*?Aic;J~fZZ)-^FpN(_c_iC6MAWwLZ(c*h&9*CCmcx-x}cf}B@!)r9jgmp z!?NYYlR~m^xK76^u9MCUNlWd+KQ@U+q>G*4aiO!7pu5D`ZK_M@0G&h#iCGfVV?hZBv_cLS$1W(&%%PdgB!85Y2M^#sd+@MiA{?2Rc{rZU zz&nf2fQX1We9FxCgqX__Eh6Uew?@SH>yFO#M(2wQ#D!uhsmdwk6MSM)P%INGL>*55 EKX#iRHvj+t literal 0 HcmV?d00001 diff --git a/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/DEPENDENCIES b/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/DEPENDENCIES new file mode 100644 index 0000000..adeaee5 --- /dev/null +++ b/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/DEPENDENCIES @@ -0,0 +1,99 @@ +// ------------------------------------------------------------------ +// Transitive dependencies of this project determined from the +// maven pom organized by organization. +// ------------------------------------------------------------------ + +Pulsar Metadata Etcd Contrib + + +From: 'an unknown organization' + - Google Android Annotations Library (http://source.android.com/) com.google.android:annotations:jar:4.1.1.4 + License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + - FindBugs-jsr305 (http://findbugs.sourceforge.net/) com.google.code.findbugs:jsr305:jar:3.0.2 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Gson (https://github.com/google/gson/gson) com.google.code.gson:gson:jar:2.8.9 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Guava InternalFutureFailureAccess and InternalFutures (https://github.com/google/guava/failureaccess) com.google.guava:failureaccess:bundle:1.0.2 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Guava: Google Core Libraries for Java (https://github.com/google/guava) com.google.guava:guava:bundle:33.0.0-jre + License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Guava ListenableFuture only (https://github.com/google/guava/listenablefuture) com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Protocol Buffers [Core] (https://developers.google.com/protocol-buffers/protobuf-java/) com.google.protobuf:protobuf-java:jar:3.24.0 + License: BSD-3-Clause (https://opensource.org/licenses/BSD-3-Clause) + - Protocol Buffers [Util] (https://developers.google.com/protocol-buffers/protobuf-java-util/) com.google.protobuf:protobuf-java-util:jar:3.25.5 + License: BSD-3-Clause (https://opensource.org/licenses/BSD-3-Clause) + - Failsafe (https://failsafe.dev/failsafe) dev.failsafe:failsafe:jar:3.3.2 + License: Apache License, Version 2.0 (http://apache.org/licenses/LICENSE-2.0) + - jetcd-api (https://github.com/etcd-io/jetcd) io.etcd:jetcd-api:jar:0.7.7 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - jetcd-common (https://github.com/etcd-io/jetcd) io.etcd:jetcd-common:jar:0.7.7 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - jetcd-core (https://github.com/etcd-io/jetcd) io.etcd:jetcd-core:jar:0.7.7 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - jetcd-grpc (https://github.com/etcd-io/jetcd) io.etcd:jetcd-grpc:jar:0.7.7 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - io.grpc:grpc-api (https://github.com/grpc/grpc-java) io.grpc:grpc-api:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-context (https://github.com/grpc/grpc-java) io.grpc:grpc-context:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-core (https://github.com/grpc/grpc-java) io.grpc:grpc-core:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-grpclb (https://github.com/grpc/grpc-java) io.grpc:grpc-grpclb:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-netty-shaded (https://github.com/grpc/grpc-java) io.grpc:grpc-netty-shaded:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-protobuf (https://github.com/grpc/grpc-java) io.grpc:grpc-protobuf:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-protobuf-lite (https://github.com/grpc/grpc-java) io.grpc:grpc-protobuf-lite:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-stub (https://github.com/grpc/grpc-java) io.grpc:grpc-stub:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - io.grpc:grpc-util (https://github.com/grpc/grpc-java) io.grpc:grpc-util:jar:1.60.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - perfmark:perfmark-api (https://github.com/perfmark/perfmark) io.perfmark:perfmark-api:jar:0.26.0 + License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) + - Checker Qual (https://checkerframework.org/) org.checkerframework:checker-qual:jar:3.41.0 + License: The MIT License (http://opensource.org/licenses/MIT) + - Project Lombok (https://projectlombok.org) org.projectlombok:lombok:jar:1.18.32 + License: The MIT License (https://projectlombok.org/LICENSE) + - SnakeYAML (https://bitbucket.org/snakeyaml/snakeyaml) org.yaml:snakeyaml:bundle:2.2 + License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'Eclipse' + - Vert.x Core (http://nexus.sonatype.org/oss-repository-hosting.html/vertx-parent/vertx-core) io.vertx:vertx-core:jar:4.5.1 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) License: Eclipse Public License - v 2.0 (http://www.eclipse.org/legal/epl-v20.html) + - Vert.x gRPC (http://nexus.sonatype.org/oss-repository-hosting.html/vertx-parent/vertx-ext/vertx-ext-parent/vertx-grpc-parent/vertx-grpc) io.vertx:vertx-grpc:jar:4.5.1 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) License: Eclipse Public License - v 1.0 (http://www.eclipse.org/legal/epl-v10.html) + +From: 'FasterXML' (http://fasterxml.com/) + - Jackson-annotations (https://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Jackson-core (https://github.com/FasterXML/jackson-core) com.fasterxml.jackson.core:jackson-core:jar:2.17.2 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - jackson-databind (https://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-databind:jar:2.17.2 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Jackson-dataformat-YAML (https://github.com/FasterXML/jackson-dataformats-text) com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.17.2 + License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'Google LLC' (http://www.google.com) + - error-prone annotations (https://errorprone.info/error_prone_annotations) com.google.errorprone:error_prone_annotations:jar:2.20.0 + License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'Google LLC' + - proto-google-common-protos (https://github.com/googleapis/sdk-platform-java) com.google.api.grpc:proto-google-common-protos:jar:2.22.0 + License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'MojoHaus' (https://www.mojohaus.org) + - Animal Sniffer Annotations (https://www.mojohaus.org/animal-sniffer/animal-sniffer-annotations) org.codehaus.mojo:animal-sniffer-annotations:jar:1.24 + License: MIT license (https://spdx.org/licenses/MIT.txt) + +From: 'QOS.ch' (http://www.qos.ch) + - SLF4J API Module (http://www.slf4j.org) org.slf4j:slf4j-api:jar:2.0.13 + License: MIT License (http://www.opensource.org/licenses/mit-license.php) + - SLF4J Simple Provider (http://www.slf4j.org) org.slf4j:slf4j-simple:jar:2.0.13 + License: MIT License (http://www.opensource.org/licenses/mit-license.php) + + + + diff --git a/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/LICENSE b/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. diff --git a/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/NOTICE b/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/NOTICE new file mode 100644 index 0000000..fd39e2b --- /dev/null +++ b/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/NOTICE @@ -0,0 +1,8 @@ + +Pulsar Metadata Etcd Contrib +Copyright 2025-2022 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + diff --git a/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..19aacfc --- /dev/null +++ b/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1,8 @@ +org/apache/pulsar/metadata/impl/EtcdMetadataStore$1.class +org/apache/pulsar/metadata/impl/EtcdSessionWatcher.class +org/apache/pulsar/metadata/impl/EtcdConfig.class +org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.class +org/apache/pulsar/metadata/impl/EtcdMetadataStore.class +org/apache/pulsar/metadata/impl/EtcdSessionWatcher$1.class +org/apache/pulsar/metadata/impl/EtcdConfig$EtcdConfigBuilder.class +org/apache/pulsar/metadata/impl/EtcdMetadataStore$2.class diff --git a/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..7d79b66 --- /dev/null +++ b/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,3 @@ +/Users/mmerli/prg/pulsar-java-contrib/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStore.java +/Users/mmerli/prg/pulsar-java-contrib/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.java +/Users/mmerli/prg/pulsar-java-contrib/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdSessionWatcher.java diff --git a/pulsar-metadata-etcd-contrib/target/spotless-index b/pulsar-metadata-etcd-contrib/target/spotless-index new file mode 100644 index 0000000..eba2012 --- /dev/null +++ b/pulsar-metadata-etcd-contrib/target/spotless-index @@ -0,0 +1,6 @@ +2f0rQ2My722NMDiVdMLQmwaC0uwXNbEDS/Y9/h4SDVA= +pom.xml 2026-03-17T16:17:56.223403543Z +src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStore.java 2026-03-17T16:17:56.141360643Z +src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.java 2026-03-17T16:15:23.132796353Z +src/main/java/org/apache/pulsar/metadata/impl/EtcdSessionWatcher.java 2026-03-17T16:15:13.893294291Z +src/test/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreTest.java 2026-03-17T16:17:55.963684235Z From 92d23cc1561831e440ba8aa9433b15ac9707b0c7 Mon Sep 17 00:00:00 2001 From: Matteo Merli Date: Tue, 17 Mar 2026 09:30:12 -0700 Subject: [PATCH 2/2] Remove build artifacts from tracking --- pulsar-metadata-etcd-contrib/target/.plxarc | 1 - .../target/classes/META-INF/DEPENDENCIES | 99 --------- .../target/classes/META-INF/LICENSE | 202 ------------------ .../target/classes/META-INF/NOTICE | 8 - .../impl/EtcdConfig$EtcdConfigBuilder.class | Bin 2611 -> 0 bytes .../pulsar/metadata/impl/EtcdConfig.class | Bin 4836 -> 0 bytes .../metadata/impl/EtcdMetadataStore$1.class | Bin 2072 -> 0 bytes .../metadata/impl/EtcdMetadataStore$2.class | Bin 1042 -> 0 bytes .../metadata/impl/EtcdMetadataStore.class | Bin 27039 -> 0 bytes .../impl/EtcdMetadataStoreProvider.class | Bin 1119 -> 0 bytes .../metadata/impl/EtcdSessionWatcher$1.class | Bin 876 -> 0 bytes .../metadata/impl/EtcdSessionWatcher.class | Bin 7319 -> 0 bytes .../META-INF/DEPENDENCIES | 99 --------- .../META-INF/LICENSE | 202 ------------------ .../META-INF/NOTICE | 8 - .../compile/default-compile/createdFiles.lst | 8 - .../compile/default-compile/inputFiles.lst | 3 - .../target/spotless-index | 6 - 18 files changed, 636 deletions(-) delete mode 100644 pulsar-metadata-etcd-contrib/target/.plxarc delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/META-INF/DEPENDENCIES delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/META-INF/LICENSE delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/META-INF/NOTICE delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig$EtcdConfigBuilder.class delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig.class delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$1.class delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$2.class delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore.class delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.class delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdSessionWatcher$1.class delete mode 100644 pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdSessionWatcher.class delete mode 100644 pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/DEPENDENCIES delete mode 100644 pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/LICENSE delete mode 100644 pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/NOTICE delete mode 100644 pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst delete mode 100644 pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst delete mode 100644 pulsar-metadata-etcd-contrib/target/spotless-index diff --git a/pulsar-metadata-etcd-contrib/target/.plxarc b/pulsar-metadata-etcd-contrib/target/.plxarc deleted file mode 100644 index 67ea6ee..0000000 --- a/pulsar-metadata-etcd-contrib/target/.plxarc +++ /dev/null @@ -1 +0,0 @@ -maven-shared-archive-resources \ No newline at end of file diff --git a/pulsar-metadata-etcd-contrib/target/classes/META-INF/DEPENDENCIES b/pulsar-metadata-etcd-contrib/target/classes/META-INF/DEPENDENCIES deleted file mode 100644 index adeaee5..0000000 --- a/pulsar-metadata-etcd-contrib/target/classes/META-INF/DEPENDENCIES +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------ -// Transitive dependencies of this project determined from the -// maven pom organized by organization. -// ------------------------------------------------------------------ - -Pulsar Metadata Etcd Contrib - - -From: 'an unknown organization' - - Google Android Annotations Library (http://source.android.com/) com.google.android:annotations:jar:4.1.1.4 - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - - FindBugs-jsr305 (http://findbugs.sourceforge.net/) com.google.code.findbugs:jsr305:jar:3.0.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Gson (https://github.com/google/gson/gson) com.google.code.gson:gson:jar:2.8.9 - License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Guava InternalFutureFailureAccess and InternalFutures (https://github.com/google/guava/failureaccess) com.google.guava:failureaccess:bundle:1.0.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Guava: Google Core Libraries for Java (https://github.com/google/guava) com.google.guava:guava:bundle:33.0.0-jre - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Guava ListenableFuture only (https://github.com/google/guava/listenablefuture) com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Protocol Buffers [Core] (https://developers.google.com/protocol-buffers/protobuf-java/) com.google.protobuf:protobuf-java:jar:3.24.0 - License: BSD-3-Clause (https://opensource.org/licenses/BSD-3-Clause) - - Protocol Buffers [Util] (https://developers.google.com/protocol-buffers/protobuf-java-util/) com.google.protobuf:protobuf-java-util:jar:3.25.5 - License: BSD-3-Clause (https://opensource.org/licenses/BSD-3-Clause) - - Failsafe (https://failsafe.dev/failsafe) dev.failsafe:failsafe:jar:3.3.2 - License: Apache License, Version 2.0 (http://apache.org/licenses/LICENSE-2.0) - - jetcd-api (https://github.com/etcd-io/jetcd) io.etcd:jetcd-api:jar:0.7.7 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - jetcd-common (https://github.com/etcd-io/jetcd) io.etcd:jetcd-common:jar:0.7.7 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - jetcd-core (https://github.com/etcd-io/jetcd) io.etcd:jetcd-core:jar:0.7.7 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - jetcd-grpc (https://github.com/etcd-io/jetcd) io.etcd:jetcd-grpc:jar:0.7.7 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - io.grpc:grpc-api (https://github.com/grpc/grpc-java) io.grpc:grpc-api:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-context (https://github.com/grpc/grpc-java) io.grpc:grpc-context:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-core (https://github.com/grpc/grpc-java) io.grpc:grpc-core:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-grpclb (https://github.com/grpc/grpc-java) io.grpc:grpc-grpclb:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-netty-shaded (https://github.com/grpc/grpc-java) io.grpc:grpc-netty-shaded:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-protobuf (https://github.com/grpc/grpc-java) io.grpc:grpc-protobuf:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-protobuf-lite (https://github.com/grpc/grpc-java) io.grpc:grpc-protobuf-lite:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-stub (https://github.com/grpc/grpc-java) io.grpc:grpc-stub:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-util (https://github.com/grpc/grpc-java) io.grpc:grpc-util:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - perfmark:perfmark-api (https://github.com/perfmark/perfmark) io.perfmark:perfmark-api:jar:0.26.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - Checker Qual (https://checkerframework.org/) org.checkerframework:checker-qual:jar:3.41.0 - License: The MIT License (http://opensource.org/licenses/MIT) - - Project Lombok (https://projectlombok.org) org.projectlombok:lombok:jar:1.18.32 - License: The MIT License (https://projectlombok.org/LICENSE) - - SnakeYAML (https://bitbucket.org/snakeyaml/snakeyaml) org.yaml:snakeyaml:bundle:2.2 - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'Eclipse' - - Vert.x Core (http://nexus.sonatype.org/oss-repository-hosting.html/vertx-parent/vertx-core) io.vertx:vertx-core:jar:4.5.1 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) License: Eclipse Public License - v 2.0 (http://www.eclipse.org/legal/epl-v20.html) - - Vert.x gRPC (http://nexus.sonatype.org/oss-repository-hosting.html/vertx-parent/vertx-ext/vertx-ext-parent/vertx-grpc-parent/vertx-grpc) io.vertx:vertx-grpc:jar:4.5.1 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) License: Eclipse Public License - v 1.0 (http://www.eclipse.org/legal/epl-v10.html) - -From: 'FasterXML' (http://fasterxml.com/) - - Jackson-annotations (https://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2 - License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Jackson-core (https://github.com/FasterXML/jackson-core) com.fasterxml.jackson.core:jackson-core:jar:2.17.2 - License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - jackson-databind (https://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-databind:jar:2.17.2 - License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Jackson-dataformat-YAML (https://github.com/FasterXML/jackson-dataformats-text) com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.17.2 - License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'Google LLC' (http://www.google.com) - - error-prone annotations (https://errorprone.info/error_prone_annotations) com.google.errorprone:error_prone_annotations:jar:2.20.0 - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'Google LLC' - - proto-google-common-protos (https://github.com/googleapis/sdk-platform-java) com.google.api.grpc:proto-google-common-protos:jar:2.22.0 - License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'MojoHaus' (https://www.mojohaus.org) - - Animal Sniffer Annotations (https://www.mojohaus.org/animal-sniffer/animal-sniffer-annotations) org.codehaus.mojo:animal-sniffer-annotations:jar:1.24 - License: MIT license (https://spdx.org/licenses/MIT.txt) - -From: 'QOS.ch' (http://www.qos.ch) - - SLF4J API Module (http://www.slf4j.org) org.slf4j:slf4j-api:jar:2.0.13 - License: MIT License (http://www.opensource.org/licenses/mit-license.php) - - SLF4J Simple Provider (http://www.slf4j.org) org.slf4j:slf4j-simple:jar:2.0.13 - License: MIT License (http://www.opensource.org/licenses/mit-license.php) - - - - diff --git a/pulsar-metadata-etcd-contrib/target/classes/META-INF/LICENSE b/pulsar-metadata-etcd-contrib/target/classes/META-INF/LICENSE deleted file mode 100644 index d645695..0000000 --- a/pulsar-metadata-etcd-contrib/target/classes/META-INF/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed 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. diff --git a/pulsar-metadata-etcd-contrib/target/classes/META-INF/NOTICE b/pulsar-metadata-etcd-contrib/target/classes/META-INF/NOTICE deleted file mode 100644 index fd39e2b..0000000 --- a/pulsar-metadata-etcd-contrib/target/classes/META-INF/NOTICE +++ /dev/null @@ -1,8 +0,0 @@ - -Pulsar Metadata Etcd Contrib -Copyright 2025-2022 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - - diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig$EtcdConfigBuilder.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig$EtcdConfigBuilder.class deleted file mode 100644 index b175f986e2454259cd94fba7b1a3492d24744fbd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2611 zcmb_d-BKGj6#nE87MyJePJkpN6k3wnPRjN_Z4IQs4JE-%GBrb|^h(&mR#lj?Vcco%8AF?|)wX1z-h@A__QXVZ_FH zj51t$&JVfca0jU^6WHLC4`e-s%dc7rKfE z&VkUp%{6!ALCQ=k%dwa68I1txD>9$2c(4i7ru3}(22Kb_l30z{hpk4JW@DF8V zbgv>Ogv($ZgujjB&e2ZkwWiY;O>+*|=_&rfJE5$vxTPTBJ>G*tls- z#(Ai_ejs(tt&&nDVJ;EFf5h-3lzn2O#8>Iyh6Si`Y;rmei*c(H%kxM)TM8e zqSe%XAeM{^;XDyaZ}>_R;n#d$D;@A28Fu})ni$1u5%=+xg$IVjYYdBnjih(z?+YhB zMa=7U-XiEe!>{RBC5AERMpVbtV#D|M!(J_W@Ra6+<5s^Xa?F2B+2_2&1ftGew<)!# zjp1vCUj{{bX&@%`x*S*Q6?S(%RiKk;wz?(@srs2{a>}Mzd0j16ScSoUY)+$)S-MP4y+%?<5qkM7>!?;RY>(z#{{EfDdU#A0IxV-ZPDO$XwU}UB)MQK$AlQnTQ#nnS7wBp@B@u z4bb&`psPaznVcD*oB2SqLj#$l8=z0|8TBS>kBK@aqw{}a?uY6TCGLn~euPPCQ`D|f zn|+D-{B*`_n19WNd-y!T-Hcg-1@ezD|G>K>o`8LY3h*Z2g#>s6Uqo#Bl1OG)HHT#y a&B0fw)$x#KCDM=4$~tlS8$7}$uKf#zB!pN1 diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdConfig.class deleted file mode 100644 index 0286f68d7c97076424be081cd49e97773b7ad532..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4836 zcmb_gZF3t}6@IR~tCgjVUt-6xVq@ag3ASukX$hFhaYkP=j^WJmAw>`X~xn$_nzmR zdtUFo%0E7M=T89U@FN2$g$r(dqiAhg<%(V0Zd5(1Ufi;MYu)m#qO-MKEnfD^>+^2y zjBGyH*YxZsvFB*qUd_q_QWQj88j#IXLI}Z7ziPHkJZJ ztvmj1mV%F%cobs_nX*;8{8GcJ(yH;;_F*(*t<_A}F$-G4WZE?G0sP zK@{%iOgt&ve8^3Rqo8I@To9B=)YJQ+%-|^#pT|W;r($`Pd3W6oigY21OPDwC1rwKX zrL9uK)G8P|R<&W@xTA13DfEY3InK_yYGMIjQaHI~ZQAS{ru$jP=e{-1w`#tp;Et~z z7X7$Z5&}#|*20EWxX26~z2y$K{46^@3}N@8Q?su(w$|+WinUf{P+z5A57&DioAbA& zN8Pejy=~PUu_`i6^D7P`KlOk3PER{M+i&)hHoiJR?Oj}IYopTmL;5V*219L0t%R^0YqI1J7p+t69Aly1u6}m%wY~|RpZ zMfdTt@7C?d>uxr-XFsxK+XPp3x9tS@^Dzz0 z%Ph7OshGE_)n&)GXEXSoLSz34G9JDK=G4^bSg}Ua!^w#lvE)Q63CR&oD>-v&f(5Wp ztJ(GWs^xh$qb8n;LH>4G=^E=HEsbPNWxWR8h z|Cnfl?QPF<++89fD$jXfD%9SfD%u{KE5y`%ZeODhc1>K-1t9;T{QJT=;aNFrPyS!uAdy;(@prfl1|9EQaY~-CjBms-@~!Io=?X>=Sv1b=S!KqA)rhIGV+-i zXr|Oj&`c?t?-Wor0(IuIF;JCEjLSR<9@)w_u@DFZLV#yY7Cet|2b zU*NI)OI*YqQd#^Jqu3yo!{0H43Mmr~ZM%d%BlB-`8OWLMW57U$e;M^Y21By*f0ML~ zKOn>0^5>HZI!%|P9z6NtC8D>S*Xgo2ujI#5s3s++w%kT<^~_$-=7xJ_D^d(UL#F4( zJ?K5wi*rFe2!qv->6yF-WBLK+g7tGHO&EDC;$);oLe}|`9}ruuUqB*V#KSkuri@eE{=AmPiM4r5G;tA$3NRl+60%ze30|xWCLhV)FoS0(ukB z#AxkH5iA{p?IRDaMqr~IypK;{L?SG*&`yF|e}T=KEF|zKNN?+{3*%aFQ3In=7g7s< zz|$Pg@pGP^8GcId;ETY)%OtG9@ai6oQl!CSt)<|j!BOKz3Ol42Mtp;x@3OhTw?v9` P4&P^Ey@FTqL*)MhR+k4d diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$1.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$1.class deleted file mode 100644 index e57e85422ed1881794fd4fbee74fbf01e07d6aa7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2072 zcmbW2&2k$>5Xb*5*_I`36k%*R5IzJLqK}Zp*a^fk2II&{h-`ypd`Q7zw3yuX&gB+@BlEM#F3@_XVy*q%@wd#kl4osjX%u5!Z_Lb6omfO9yXLf*m?m?F%d z*&$;*zeAXcVhy}|i+gs%?{uWDWigGJ6bcq*ae+fI>|p~!&JAwJR=-nMqUFhU6w=*E zJWa@MsiKk(!lmM;pBc_G7M{g(gz>hqCtNBujx%e9+Ety}(33%~wes#HiiGKg6oD){ zo-0*Ylv?|`xMZj=T6hU_gt7ZVD?(*7bf>HR`zBE4rtu0crBJd^Muo6ALO0QKZO%lh zwrtx?83eAc>IWPNXBpo%{DAMSjVkwJDO~X!E?amNS2$BG9qAs(_DMh2OaBjT^y5A( zm^LkXk%(Op6y<}St7Y3L__~D!EV6>Gy5|#SPEoMDo5D2~*Y$159D6VNjc9gMm^)JT zRy~e-TLwK}1v0}^^rnUDSmJK=)h4S)uuF~qPT&fquuQnfTROVu*g@ED+1w{m>~FOK zsSl)P!AHt+`hYT-vt9Gsl5oD^D!JL;Z%Msl`XZVFM|itJyXHQAIA-RVaCKA-PIopp zUt{$nss1Gr;qqAoA)IT5!ue!F^y08m+=gZp2p5K{Hr(Zebofuxb8&|T?AVIC*jH;l zpJp;NBYdI-j^>a_O}C>&*w-x6$3vvp#N_h0N-duy(G`{~)Aak=k?XFhNz}b34%sW_ z=-~3zmE-vVA07N}*Kb?cMw8QVxJyDAwI-ojx?3JZ+YepOc6{aZwdU!yQ|u3 z*GPTAcL}`BzY}Z&`T_6obzxwIRlLi0Y#-5xEqGpH)<;N2RHggH@!HW4eIShf|2s1D2d3%I z2yYO)ae&XSvOITU=mJ9%{9n3K{SH?j;f>=shm{@x(s6v_Xz-Q(>F+O}h Rz)tiehYxwpuoDC4&)+yB8xa5i diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$2.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore$2.class deleted file mode 100644 index 6c6ffee9d862658b61570da1f845005191cecc02..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1042 zcmbVL+iuf95Ivi?aS~h_LP^tdD_|g@P}3j~0*XM1LnCrQB$S6fppCt1TpT;Hog#jR z7oGtLA%yw?`~-i3m~|5h;sK~-?d%z?&z>_g{`&p%9)NXJvPdAQLeVgT6vJ&l*f#ix zTLWQ?#%{<1V<;kS^N1VHaO4_&9$5p&+csL0bZ4aZUXKJrYL~lX5i+co%3ICD^4!fJ zjf{${h9l4zZv2hNj4XSqr5pKy&?^j8z5B``p)Eeri9p|Xr0+Y@r;c>#NS`{=rz}4m zCAJzFD$h|3bI36ypFHa^+&R28S?j!p=<&WwnS9f?xVy;%N8(9xwi|Kl zB^7vrvt552SfcL8FA9HjWmO6wa?`V1KcoSoY7cx{#Z`v2|L!rVZ;LS6@Ix}9H9SuQ zRhNgM2vuDFhoPDF{Ff;v|8kCV%QSz>^lz|SQBI)TQRX}@P}B*%L6UYr{S(;Um+S|q z@8vuD5yzCyTPTlXxIl2`04@PX1*D&=bfWe9LY$@eR2f$&Dp;ZQTAW$ID#bi8Bw%3e!6JF1Czt*K DzoQ7T diff --git a/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStore.class deleted file mode 100644 index fa7eae4710b75f89d731ca16a01638bd65437287..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 27039 zcmcJ234B~t_5V5dzT_p7*EUTT8rnjD0BxE!bOjP9ZPT<(w?LCNv=z!UnWjT0nJ_cy z07P?iGIq(zFND4U|9qCZhYL_~1`K|rAY@44^I%$vzHUGxv1_Px39 z-gD1A_w0A+(;x48jEGLPwggC#w#jm+fC`x!qOp#eV0W->eW<3pClU|FYC1!SV0$nT ztO<8^M{3pv6K(6mT^%*E*TxgEU|V926olHBc(s}n(O8J7@RV>@I5Csy#BqxU02%BK z*JQP3CEfA zxbcm}G?<3iR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.class b/pulsar-metadata-etcd-contrib/target/classes/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.class deleted file mode 100644 index 94be12e4670903b7ed4ca0051188ac9fc4945f58..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1119 zcmb_bTTc@~6#k~Wu+Ub~f_FhtF$K|$i9VRBF9aVb5cg z&I&x303UNbLNcwbtgQqVnmSc4d)<~YZ)7W>q}I%0ne0lV-FqnX?Y=GqCgwRg)`q}* z&m~K|9%qsXPsb zfR#|GD|DoaLTBkaX;~p7Aoc{x+n-{UTZ)SSHw7L})9Pa^?L=A6#Oj%L{aqOw^U+Y; zbE#q#r@36*DQ=oa&IKc_@fDH_@|lezh%da9ut@5@LD&*$b)bNAIM0{B1zaR`;Jf5b z&#TRUCOZjTI|22Mp_g!(S`Hd92A{n04Z-_6o6AS2{B2^hZ(?JhHZ(y1uHb6lYX!?# Xp*bhJhU-jhm3Nfgc5Ph4tagw@iD20Ub(L&uexnO}165{I+r6M9p4?*prr;WWzHg&wwdK36Z zoB;_Tg!%*cQHWVL6+(y}DtUM2&3ec0JtG@bkGSDfmVx+SL=uT8=!-O!DrwC{Vi*c@9?wL|@T}fA>0G79^Ad_ExhQ*B zhIcs;Ihn>m%Y@N_#4$I-SNo3`Ui zvg%REpg7L>+e!&64dz6=j&j{o+YOPx15A7Q>9`WDwit{H=Gs*A`K5`BRh~6wB39 zRh%j%s^~K*t!ZsA`gAj6w;IW$k@U6EUi zw5_M4%rjaX!(?nD8SBoZ;x-kE)tjkwrcbwO6`UzhO=(lQZ4bp9Dry+dSQa&jt=7A> zOw!)aYw22|QHxW&p&%jxXJw65o#r>aTB=#??Oi?S+AD1k12o!3q^CQAg~J>rjc@jfA>@+S=68($vvVzrJmChrq1y zt(m2-Ek!+6D`-&Bh&6=mxZIEALxIUz$JN=5#!fxauGzZ4rQ>SX+jm^(h_oZPvUt!PuQUd2Uti@?IM-pqy|)0h#{cQW1+dLriKtcC$6 z6IFPx?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deleted file mode 100644 index adeaee5..0000000 --- a/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/DEPENDENCIES +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------ -// Transitive dependencies of this project determined from the -// maven pom organized by organization. -// ------------------------------------------------------------------ - -Pulsar Metadata Etcd Contrib - - -From: 'an unknown organization' - - Google Android Annotations Library (http://source.android.com/) com.google.android:annotations:jar:4.1.1.4 - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - - FindBugs-jsr305 (http://findbugs.sourceforge.net/) com.google.code.findbugs:jsr305:jar:3.0.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Gson (https://github.com/google/gson/gson) com.google.code.gson:gson:jar:2.8.9 - License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Guava InternalFutureFailureAccess and InternalFutures (https://github.com/google/guava/failureaccess) com.google.guava:failureaccess:bundle:1.0.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Guava: Google Core Libraries for Java (https://github.com/google/guava) com.google.guava:guava:bundle:33.0.0-jre - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Guava ListenableFuture only (https://github.com/google/guava/listenablefuture) com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Protocol Buffers [Core] (https://developers.google.com/protocol-buffers/protobuf-java/) com.google.protobuf:protobuf-java:jar:3.24.0 - License: BSD-3-Clause (https://opensource.org/licenses/BSD-3-Clause) - - Protocol Buffers [Util] (https://developers.google.com/protocol-buffers/protobuf-java-util/) com.google.protobuf:protobuf-java-util:jar:3.25.5 - License: BSD-3-Clause (https://opensource.org/licenses/BSD-3-Clause) - - Failsafe (https://failsafe.dev/failsafe) dev.failsafe:failsafe:jar:3.3.2 - License: Apache License, Version 2.0 (http://apache.org/licenses/LICENSE-2.0) - - jetcd-api (https://github.com/etcd-io/jetcd) io.etcd:jetcd-api:jar:0.7.7 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - jetcd-common (https://github.com/etcd-io/jetcd) io.etcd:jetcd-common:jar:0.7.7 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - jetcd-core (https://github.com/etcd-io/jetcd) io.etcd:jetcd-core:jar:0.7.7 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - jetcd-grpc (https://github.com/etcd-io/jetcd) io.etcd:jetcd-grpc:jar:0.7.7 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - io.grpc:grpc-api (https://github.com/grpc/grpc-java) io.grpc:grpc-api:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-context (https://github.com/grpc/grpc-java) io.grpc:grpc-context:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-core (https://github.com/grpc/grpc-java) io.grpc:grpc-core:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-grpclb (https://github.com/grpc/grpc-java) io.grpc:grpc-grpclb:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-netty-shaded (https://github.com/grpc/grpc-java) io.grpc:grpc-netty-shaded:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-protobuf (https://github.com/grpc/grpc-java) io.grpc:grpc-protobuf:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-protobuf-lite (https://github.com/grpc/grpc-java) io.grpc:grpc-protobuf-lite:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-stub (https://github.com/grpc/grpc-java) io.grpc:grpc-stub:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - io.grpc:grpc-util (https://github.com/grpc/grpc-java) io.grpc:grpc-util:jar:1.60.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - perfmark:perfmark-api (https://github.com/perfmark/perfmark) io.perfmark:perfmark-api:jar:0.26.0 - License: Apache 2.0 (https://opensource.org/licenses/Apache-2.0) - - Checker Qual (https://checkerframework.org/) org.checkerframework:checker-qual:jar:3.41.0 - License: The MIT License (http://opensource.org/licenses/MIT) - - Project Lombok (https://projectlombok.org) org.projectlombok:lombok:jar:1.18.32 - License: The MIT License (https://projectlombok.org/LICENSE) - - SnakeYAML (https://bitbucket.org/snakeyaml/snakeyaml) org.yaml:snakeyaml:bundle:2.2 - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'Eclipse' - - Vert.x Core (http://nexus.sonatype.org/oss-repository-hosting.html/vertx-parent/vertx-core) io.vertx:vertx-core:jar:4.5.1 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) License: Eclipse Public License - v 2.0 (http://www.eclipse.org/legal/epl-v20.html) - - Vert.x gRPC (http://nexus.sonatype.org/oss-repository-hosting.html/vertx-parent/vertx-ext/vertx-ext-parent/vertx-grpc-parent/vertx-grpc) io.vertx:vertx-grpc:jar:4.5.1 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) License: Eclipse Public License - v 1.0 (http://www.eclipse.org/legal/epl-v10.html) - -From: 'FasterXML' (http://fasterxml.com/) - - Jackson-annotations (https://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2 - License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Jackson-core (https://github.com/FasterXML/jackson-core) com.fasterxml.jackson.core:jackson-core:jar:2.17.2 - License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - jackson-databind (https://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-databind:jar:2.17.2 - License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Jackson-dataformat-YAML (https://github.com/FasterXML/jackson-dataformats-text) com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.17.2 - License: The Apache Software License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'Google LLC' (http://www.google.com) - - error-prone annotations (https://errorprone.info/error_prone_annotations) com.google.errorprone:error_prone_annotations:jar:2.20.0 - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'Google LLC' - - proto-google-common-protos (https://github.com/googleapis/sdk-platform-java) com.google.api.grpc:proto-google-common-protos:jar:2.22.0 - License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'MojoHaus' (https://www.mojohaus.org) - - Animal Sniffer Annotations (https://www.mojohaus.org/animal-sniffer/animal-sniffer-annotations) org.codehaus.mojo:animal-sniffer-annotations:jar:1.24 - License: MIT license (https://spdx.org/licenses/MIT.txt) - -From: 'QOS.ch' (http://www.qos.ch) - - SLF4J API Module (http://www.slf4j.org) org.slf4j:slf4j-api:jar:2.0.13 - License: MIT License (http://www.opensource.org/licenses/mit-license.php) - - SLF4J Simple Provider (http://www.slf4j.org) org.slf4j:slf4j-simple:jar:2.0.13 - License: MIT License (http://www.opensource.org/licenses/mit-license.php) - - - - diff --git a/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/LICENSE b/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/LICENSE deleted file mode 100644 index d645695..0000000 --- a/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed 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. diff --git a/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/NOTICE b/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/NOTICE deleted file mode 100644 index fd39e2b..0000000 --- a/pulsar-metadata-etcd-contrib/target/maven-shared-archive-resources/META-INF/NOTICE +++ /dev/null @@ -1,8 +0,0 @@ - -Pulsar Metadata Etcd Contrib -Copyright 2025-2022 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - - diff --git a/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst deleted file mode 100644 index 19aacfc..0000000 --- a/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +++ /dev/null @@ -1,8 +0,0 @@ -org/apache/pulsar/metadata/impl/EtcdMetadataStore$1.class -org/apache/pulsar/metadata/impl/EtcdSessionWatcher.class -org/apache/pulsar/metadata/impl/EtcdConfig.class -org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.class -org/apache/pulsar/metadata/impl/EtcdMetadataStore.class -org/apache/pulsar/metadata/impl/EtcdSessionWatcher$1.class -org/apache/pulsar/metadata/impl/EtcdConfig$EtcdConfigBuilder.class -org/apache/pulsar/metadata/impl/EtcdMetadataStore$2.class diff --git a/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst deleted file mode 100644 index 7d79b66..0000000 --- a/pulsar-metadata-etcd-contrib/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ /dev/null @@ -1,3 +0,0 @@ -/Users/mmerli/prg/pulsar-java-contrib/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStore.java -/Users/mmerli/prg/pulsar-java-contrib/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.java -/Users/mmerli/prg/pulsar-java-contrib/pulsar-metadata-etcd-contrib/src/main/java/org/apache/pulsar/metadata/impl/EtcdSessionWatcher.java diff --git a/pulsar-metadata-etcd-contrib/target/spotless-index b/pulsar-metadata-etcd-contrib/target/spotless-index deleted file mode 100644 index eba2012..0000000 --- a/pulsar-metadata-etcd-contrib/target/spotless-index +++ /dev/null @@ -1,6 +0,0 @@ -2f0rQ2My722NMDiVdMLQmwaC0uwXNbEDS/Y9/h4SDVA= -pom.xml 2026-03-17T16:17:56.223403543Z -src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStore.java 2026-03-17T16:17:56.141360643Z -src/main/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreProvider.java 2026-03-17T16:15:23.132796353Z -src/main/java/org/apache/pulsar/metadata/impl/EtcdSessionWatcher.java 2026-03-17T16:15:13.893294291Z -src/test/java/org/apache/pulsar/metadata/impl/EtcdMetadataStoreTest.java 2026-03-17T16:17:55.963684235Z