This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 1d83a534cf1 [fix][doc] Fix some typos in pip (#23288)
1d83a534cf1 is described below
commit 1d83a534cf1874113eafe1c0ede301996279a3bb
Author: Jiawen Wang <[email protected]>
AuthorDate: Wed Oct 9 21:15:25 2024 +0800
[fix][doc] Fix some typos in pip (#23288)
---
pip/pip-307.md | 2 +-
pip/pip-324-Alpine Docker images.md | 4 ++--
pip/pip-337.md | 6 +++---
pip/pip-352.md | 2 +-
pip/pip-359.md | 4 ++--
pip/pip-368.md | 2 +-
6 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/pip/pip-307.md b/pip/pip-307.md
index a919991d089..51ab77ba295 100644
--- a/pip/pip-307.md
+++ b/pip/pip-307.md
@@ -80,7 +80,7 @@ sequenceDiagram
Leader Broker ->> Owner Broker: "state:Releasing:" close topic
Owner Broker ->> Owner Broker: close broker topic sessions
Owner Broker ->> Clients: close producers and consumers
- Clients ->> Clients: reconnecting (inital delay 100ms)
+ Clients ->> Clients: reconnecting (initial delay 100ms)
Owner Broker ->> New Owner Broker: "state:Assign:" assign new ownership
New Owner Broker ->> Owner Broker: "state:Owned:" ack new ownership
Clients ->> Owner Broker: lookup
diff --git a/pip/pip-324-Alpine Docker images.md b/pip/pip-324-Alpine Docker
images.md
index c7fcc1903a9..8d74aa41c88 100644
--- a/pip/pip-324-Alpine Docker images.md
+++ b/pip/pip-324-Alpine Docker images.md
@@ -6,8 +6,8 @@
Pulsar Docker images are currently based on Ubuntu base images. While these
images has served us well in the past years,
there are few shortcomings.
-Alpine Linux is a Linux distribution designed explicitely to work well in
container environments and has strong
-focus on security and a minimalistic set of included depedendencies.
+Alpine Linux is a Linux distribution designed explicitly to work well in
container environments and has strong
+focus on security and a minimalistic set of included dependencies.
### Size of the image
diff --git a/pip/pip-337.md b/pip/pip-337.md
index 283bb9710de..a50130623d7 100644
--- a/pip/pip-337.md
+++ b/pip/pip-337.md
@@ -184,7 +184,7 @@ public interface PulsarSslFactory extends AutoCloseable {
/*
* Returns the internally stored ssl context
- * @throws IllegalStateException If the SSL Context has not be created
before this call, then it wil throw this
+ * @throws IllegalStateException If the SSL Context has not be created
before this call, then it will throw this
* exception.
*/
SSLContext getInternalSslContext();
@@ -214,7 +214,7 @@ public class DefaultPulsarSslFactory implements
PulsarSslFactory {
}
```
-### Pulsar Commmon Changes
+### Pulsar Common Changes
4 new configurations will need to be added into the Configurations like
`ServiceConfiguration`,
`ClientConfigurationData`, `ProxyConfiguration`, etc. All of the below will be
optional. It will use the default values
@@ -360,7 +360,7 @@ the DefaultAsyncHttpClient. This pattern will be common
across all HTTP Clients
### Configuration
-Same as [Broker Common Changes](#pulsar-commmon-changes)
+Same as [Broker Common Changes](#pulsar-common-changes)
### CLI
CLI tools like `PulsarClientTool` and `PulsarAdminTool` will need to be
modified to support the new configurations.
diff --git a/pip/pip-352.md b/pip/pip-352.md
index 31641e7e1e1..2e43991a44c 100644
--- a/pip/pip-352.md
+++ b/pip/pip-352.md
@@ -29,7 +29,7 @@ the Pulsar topic in a different order than intended.
Implementing event
time-based checks could mitigate this inconvenience.
# Goals
-* No impact on current topic compation behavior
+* No impact on current topic compaction behavior
* Preserve the order of messages during compaction regardless of network
latencies
## In Scope
diff --git a/pip/pip-359.md b/pip/pip-359.md
index 52a76193d6c..3c7425dd773 100644
--- a/pip/pip-359.md
+++ b/pip/pip-359.md
@@ -4,7 +4,7 @@ Implementation PR:
[#22861](https://github.com/apache/pulsar/pull/22861)
# Background knowledge
In the current Pulsar client versions, from the user's perspective, when using
a Pulsar Consumer,
we have two main options to consume messages:
-1. Pull mode, by calling `consumer.recieve()`(or `consumer.recieveAsync()`)
+1. Pull mode, by calling `consumer.receive()`(or `consumer.receiveAsync()`)
```java
public class ConsumerExample {
public static void main(String[] args) throws PulsarClientException {
@@ -25,7 +25,7 @@ public class ConsumerExample {
```
2. Push mode, by registering a `MessageListener` interface, when building the
Consumer.
-When this method is used, we can't also use `consumer.receive()`(or
`consumer.recieveAsync()`).
+When this method is used, we can't also use `consumer.receive()`(or
`consumer.receiveAsync()`).
In the push mode, the MessageListener instance is called by the consumer,
hence it is
doing that with a thread taken from its own internal `ExecutorService` (i.e.
thread pool).
The problem comes when we build and use multiple Consumers from the same
PulsarClient. It
diff --git a/pip/pip-368.md b/pip/pip-368.md
index 06bba2c1276..f22c5b6c26c 100644
--- a/pip/pip-368.md
+++ b/pip/pip-368.md
@@ -125,7 +125,7 @@ message CommandLookupTopic {
}
```
-When the client lookups a topic, it will set the client `lookupPorperties` to
the `CommandLookupTopic.properties`.
+When the client lookups a topic, it will set the client `lookupProperties` to
the `CommandLookupTopic.properties`.
### Public API