Skip to content

Commit

Permalink
Rename EventStoreDB in comments and otel tags
Browse files Browse the repository at this point in the history
  • Loading branch information
w1am committed Dec 16, 2024
1 parent 6aeff7d commit fa933c8
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion CODE-OF-CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributor Covenant Code of Conduct

`EventStoreDB-Client-Java` follows the widely-adopted Contributor Covenant Code of Conduct.
`Kurrent-Client-Java` follows the widely-adopted Contributor Covenant Code of Conduct.

## Our Pledge

Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to `EventStoreDB-Client-Java`
# Contributing to `Kurrent-Client-Java`

Welcome to the Event Store community, and thank you for contributing! The following guide outlines the basics of how to get involved. Pull requests to update and expand this guide are very welcome!

Expand All @@ -10,7 +10,7 @@ We want the Event Store community to be as welcoming and inclusive as possible,

### Licensing

`EventStoreDB-Client-Java` is licensed under the [Apache-2.0][apache2] license. By submitting a pull request, you represent that you have right to license your contribution to Event Store Ltd and the community, and that by submitting a patch your contributions are licensed under the Apache-2.0 license.
`Kurrent-Client-Java` is licensed under the [Apache-2.0][apache2] license. By submitting a pull request, you represent that you have right to license your contribution to Event Store Ltd and the community, and that by submitting a patch your contributions are licensed under the Apache-2.0 license.

## Contributing

Expand All @@ -22,7 +22,7 @@ Please disclose issues which you believe to be a security threat _by e-mail_ to

Issues may be reported via the [GitHub Repository][github-repo]. When reporting issues, please ensure that you include relevant information which can help diagnose the problem. This includes:

- The version of `EventStoreDB-Client-Java` - including a commit SHA if using a local build
- The version of `Kurrent-Client-Java` - including a commit SHA if using a local build

- The operating system on which the issue is exhibited (on Unix, the output of `uname -a`)

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ allprojects {
}

if (!JavaVersion.current().isJava8Compatible()) {
throw new Exception("Java 8 is required to build EventStoreDB-Client-Java")
throw new Exception("Java 8 is required to build Kurrent-Client-Java")
}
4 changes: 2 additions & 2 deletions db-client-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ publishing {

from components.java
pom {
name = 'EventStoreDB Client Java'
name = 'Kurrent Client Java'
// packaging 'jar'
// optionally artifactId can be defined here
description = 'EventStoreDB gRPC Java client'
description = 'Kurrent gRPC Java client'
url = 'https://kurrent.io'

scm {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public static class Exceptions {
}

public static class EventStore {
public static final String STREAM = "db.eventstoredb.stream";
public static final String SUBSCRIPTION_ID = "db.eventstoredb.subscription.id";
public static final String EVENT_ID = "db.eventstoredb.event.id";
public static final String EVENT_TYPE = "db.eventstoredb.event.type";
public static final String STREAM = "db.kurrent.stream";
public static final String SUBSCRIPTION_ID = "db.kurrent.subscription.id";
public static final String EVENT_ID = "db.kurrent.event.id";
public static final String EVENT_TYPE = "db.kurrent.event.type";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.util.UUID;

/**
* Represents an event that will be sent to EventStoreDB.
* Represents an event that will be sent to KurrentDB.
*/
public final class EventData {
private final UUID eventId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Constants used for expected revision control.
* <p>
*
* The EventStoreDB server will assure idempotency for all requests using any value in <i>ExpectedRevision</i> except
* The KurrentDB server will assure idempotency for all requests using any value in <i>ExpectedRevision</i> except
* <i>ANY</i>. When using <i>ANY</i>, the EventStoreDB server will do its best to assure idempotency but will not
* guarantee it. Any other <i>ExpectedRevision</i> instances are meant for optimistic concurrency checks.
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ private KurrentDBClient(KurrentDBClientSettings settings) {
}

/**
* Creates a gRPC client to EventStoreDB database.
* Creates a gRPC client to KurrentDB database.
*/
public static KurrentDBClient create(KurrentDBClientSettings settings) {
return new KurrentDBClient(settings);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
import java.util.Set;

/**
* Gathers all the settings related to a gRPC client with an EventStoreDB database.
* Gathers all the settings related to a gRPC client with an KurrentDB database.
* <i>EventStoreDBClientSettings}</i> can only be created when parsing a connection string.
*
* <i>EventStoreDBClientSettings</i> supports a wide range of settings. If a setting is not mentioned in the connection
* <i>KurrentDBClientSettings</i> supports a wide range of settings. If a setting is not mentioned in the connection
* string, that setting default value is used.
*
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/**
* Represents EventStoreDB client for persistent subscriptions management. A client instance maintains a two-way communication to EventStoreDB.
* Many threads can use the EventStoreDB client simultaneously, or a single thread can make many asynchronous requests.
* Many threads can use the KurrentDB client simultaneously, or a single thread can make many asynchronous requests.
*/
public class KurrentDBPersistentSubscriptionsClient {
private final KurrentDBClientBase inner;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.util.function.Function;

/**
* Represents EventStoreDB client for projections management. A client instance maintains a two-way communication to EventStoreDB.
* Represents KurrentDB client for projections management. A client instance maintains a two-way communication to EventStoreDB.
* Many threads can use the EventStoreDB client simultaneously, or a single thread can make many asynchronous requests.
*/
public class KurrentDBProjectionManagementClient {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class NamedConsumerStrategy {
public static final NamedConsumerStrategy ROUND_ROBIN = new NamedConsumerStrategy("RoundRobin");

/**
* For use with an indexing projection such as the system $by_category projection. EventStoreDB inspects event for
* For use with an indexing projection such as the system $by_category projection. KurrentDB inspects event for
* its source stream id, hashing the id to one of 1024 buckets assigned to individual clients. When a client
* disconnects, its buckets are assigned to other clients. When a client connects, it is assigned some existing
* buckets. This naively attempts to maintain a balanced workload. The main goal of this strategy is to decrease the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
public abstract class PersistentSubscriptionListener {
/**
* Called when EventStoreDB sends an event to the persistent subscription.
* Called when KurrentDB sends an event to the persistent subscription.
* @param subscription handle to the persistent subscription.
* @param retryCount how many times the event was retried.
* @param event a resolved event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public boolean isExtraStatistics() {
*
* The best way to explain link resolution is when using system projections. When reading the stream <i>$streams</i>
* , each event is actually a link pointing to the first event of a stream. By enabling link resolution feature,
* EventStoreDB will also return the event targeted by the link.
* KurrentDB will also return the event targeted by the link.
*/
public boolean shouldResolveLinkTos() {
return resolveLinkTos;
Expand Down Expand Up @@ -191,7 +191,7 @@ void setExtraStatistics(boolean extraStatistics) {
*
* The best way to explain link resolution is when using system projections. When reading the stream <i>$streams</i>
* , each event is actually a link pointing to the first event of a stream. By enabling link resolution feature,
* EventStoreDB will also return the event targeted by the link.
* KurrentDB will also return the event targeted by the link.
*/
public boolean isResolveLinkTos() {
return resolveLinkTos;
Expand All @@ -202,7 +202,7 @@ public boolean isResolveLinkTos() {
*
* The best way to explain link resolution is when using system projections. When reading the stream <i>$streams</i>
* , each event is actually a link pointing to the first event of a stream. By enabling link resolution feature,
* EventStoreDB will also return the event targeted by the link.
* KurrentDB will also return the event targeted by the link.
*/
void setResolveLinkTos(boolean resolveLinkTos) {
this.resolveLinkTos = resolveLinkTos;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ReadAllOptions backwards() {
}

/**
* The maximum event count EventStoreDB will return.
* The maximum event count KurrentDB will return.
*/
public ReadAllOptions maxCount(long maxCount) {
this.maxCount = maxCount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.slf4j.LoggerFactory;

/**
* PluginsTests require the enterprise edition of EventStoreDB (>= 24.2.0).
* PluginsTests require the enterprise edition of KurrentDB (>= 24.2.0).
*/
public class PluginsTests implements ClientCertificateAuthenticationTests {
static private Database database;
Expand Down

0 comments on commit fa933c8

Please sign in to comment.