Anonymitaet commented on a change in pull request #10490:
URL: https://github.com/apache/pulsar/pull/10490#discussion_r627264820



##########
File path: site2/docs/client-libraries-go.md
##########
@@ -117,6 +117,10 @@ The following configurable parameters are available for 
Pulsar clients:
 | TLSTrustCertsFilePath | Set the path to the trusted TLS certificate file | |
 | TLSAllowInsecureConnection | Configure whether the Pulsar client accept 
untrusted TLS certificate from broker | false |
 | TLSValidateHostname | Configure whether the Pulsar client verify the 
validity of the host name from broker | false |
+| ListenerName | Configure the net model for vpc user to connect the pulsar 
broker |  |

Review comment:
       ```suggestion
   | ListenerName | Configure the net model for VPC users to connect to the 
Pulsar broker |  |
   ```

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -260,13 +310,21 @@ canc()
 | Topic | Topic specify the topic this consumer will subscribe to. This 
argument is required when constructing the reader. | |
 | Name | Name specify a name for the producer. If not assigned, the system 
will generate a globally unique name which can be access with 
Producer.ProducerName(). | | 
 | Properties | Properties attach a set of application defined properties to 
the producer This properties will be visible in the topic stats | |
+| SendTimeout | SendTimeout set the timeout for a message that not be 
acknowledged by server since sent | 30s |
+| DisableBlockIfQueueFull | DisableBlockIfQueueFull control whether Send and 
SendAsync block if producer's message queue is full | false |
 | MaxPendingMessages| MaxPendingMessages set the max size of the queue holding 
the messages pending to receive an acknowledgment from the broker. | |
 | HashingScheme | HashingScheme change the `HashingScheme` used to chose the 
partition on where to publish a particular message. | JavaStringHash |
 | CompressionType | CompressionType set the compression type for the producer. 
| not compressed | 
+| CompressionLevel | Define the desired compression level. Options: Default, 
Faster and Better | Default  | 
 | MessageRouter | MessageRouter set a custom message routing policy by passing 
an implementation of MessageRouter | |
 | DisableBatching | DisableBatching control whether automatic batching of 
messages is enabled for the producer. | false |
 | BatchingMaxPublishDelay | BatchingMaxPublishDelay set the time period within 
which the messages sent will be batched | 1ms |
 | BatchingMaxMessages | BatchingMaxMessages set the maximum number of messages 
permitted in a batch. | 1000 | 
+| BatchingMaxSize | BatchingMaxSize sets the maximum number of bytes permitted 
in a batch. | 128KB | 
+| Schema |  Schema set a custom schema type by passing an implementation of 
`Schema` | bytes[] | 
+| Interceptors | A chain of interceptors, These interceptors will be called at 
some points defined in ProducerInterceptor interface. | None | 

Review comment:
       ```suggestion
   | Interceptors | A chain of interceptors. These interceptors are called at 
some points defined in the `ProducerInterceptor` interface. | None | 
   ```

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -117,6 +117,10 @@ The following configurable parameters are available for 
Pulsar clients:
 | TLSTrustCertsFilePath | Set the path to the trusted TLS certificate file | |
 | TLSAllowInsecureConnection | Configure whether the Pulsar client accept 
untrusted TLS certificate from broker | false |
 | TLSValidateHostname | Configure whether the Pulsar client verify the 
validity of the host name from broker | false |
+| ListenerName | Configure the net model for vpc user to connect the pulsar 
broker |  |
+| MaxConnectionsPerBroker | Max number of connections to a single broker that 
will kept in the pool | 1 |

Review comment:
       ```suggestion
   | MaxConnectionsPerBroker | Max number of connections to a single broker 
that is kept in the pool | 1 |
   ```

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -260,13 +310,21 @@ canc()
 | Topic | Topic specify the topic this consumer will subscribe to. This 
argument is required when constructing the reader. | |
 | Name | Name specify a name for the producer. If not assigned, the system 
will generate a globally unique name which can be access with 
Producer.ProducerName(). | | 
 | Properties | Properties attach a set of application defined properties to 
the producer This properties will be visible in the topic stats | |
+| SendTimeout | SendTimeout set the timeout for a message that not be 
acknowledged by server since sent | 30s |

Review comment:
       ```suggestion
   | SendTimeout | SendTimeout set the timeout for a message that is not 
acknowledged by the server  | 30s |
   ```

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -478,6 +584,11 @@ if err != nil {
 | NackRedeliveryDelay | The delay after which to redeliver the messages that 
failed to be processed | 1min |
 | ReadCompacted | If enabled, the consumer will read messages from the 
compacted topic rather than reading the full message backlog of the topic | 
false |
 | ReplicateSubscriptionState | Mark the subscription as replicated to keep it 
in sync across clusters | false |
+| KeySharedPolicy | Configuration for Key Shared consumer policy. |  |
+| RetryEnable | Auto retry send messages to default filled DLQPolicy topics | 
false |
+| Interceptors | A chain of interceptors, These interceptors will be called at 
some points defined in ConsumerInterceptor interface. |  |

Review comment:
       ```suggestion
   | Interceptors | A chain of interceptors. These interceptors are called at 
some points defined in the `ConsumerInterceptor` interface. |  |
   ```

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -260,13 +310,21 @@ canc()
 | Topic | Topic specify the topic this consumer will subscribe to. This 
argument is required when constructing the reader. | |
 | Name | Name specify a name for the producer. If not assigned, the system 
will generate a globally unique name which can be access with 
Producer.ProducerName(). | | 
 | Properties | Properties attach a set of application defined properties to 
the producer This properties will be visible in the topic stats | |
+| SendTimeout | SendTimeout set the timeout for a message that not be 
acknowledged by server since sent | 30s |
+| DisableBlockIfQueueFull | DisableBlockIfQueueFull control whether Send and 
SendAsync block if producer's message queue is full | false |
 | MaxPendingMessages| MaxPendingMessages set the max size of the queue holding 
the messages pending to receive an acknowledgment from the broker. | |
 | HashingScheme | HashingScheme change the `HashingScheme` used to chose the 
partition on where to publish a particular message. | JavaStringHash |
 | CompressionType | CompressionType set the compression type for the producer. 
| not compressed | 
+| CompressionLevel | Define the desired compression level. Options: Default, 
Faster and Better | Default  | 
 | MessageRouter | MessageRouter set a custom message routing policy by passing 
an implementation of MessageRouter | |
 | DisableBatching | DisableBatching control whether automatic batching of 
messages is enabled for the producer. | false |
 | BatchingMaxPublishDelay | BatchingMaxPublishDelay set the time period within 
which the messages sent will be batched | 1ms |
 | BatchingMaxMessages | BatchingMaxMessages set the maximum number of messages 
permitted in a batch. | 1000 | 
+| BatchingMaxSize | BatchingMaxSize sets the maximum number of bytes permitted 
in a batch. | 128KB | 
+| Schema |  Schema set a custom schema type by passing an implementation of 
`Schema` | bytes[] | 
+| Interceptors | A chain of interceptors, These interceptors will be called at 
some points defined in ProducerInterceptor interface. | None | 
+| MaxReconnectToBroker | MaxReconnectToBroker set the maximum retry number of 
reconnectToBroker | ultimate | 
+| BatcherBuilderType | BatcherBuilderType sets the batch builder type, this 
will be used to create batch container when batching is enabled. Options: 
DefaultBatchBuilder and KeyBasedBatchBuilder | DefaultBatchBuilder | 

Review comment:
       ```suggestion
   | BatcherBuilderType | BatcherBuilderType sets the batch builder type. This 
is used to create a batch container when batching is enabled. Options: 
DefaultBatchBuilder and KeyBasedBatchBuilder | DefaultBatchBuilder | 
   ```

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -309,17 +367,20 @@ Method | Description | Return type
 `Subscription()` | Returns the consumer's subscription name | `string`
 `Unsubcribe()` | Unsubscribes the consumer from the assigned topic. Throws an 
error if the unsubscribe operation is somehow unsuccessful. | `error`
 `Receive(context.Context)` | Receives a single message from the topic. This 
method blocks until a message is available. | `(Message, error)`
+`Chan()` | Chan returns a channel to consume messages from. | `<-chan 
ConsumerMessage`

Review comment:
       ```suggestion
   `Chan()` | Chan returns a channel from which to consume messages. | `<-chan 
ConsumerMessage`
   ```

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -504,6 +615,8 @@ Method | Description | Return type
 `Next(context.Context)` | Receives the next message on the topic (analogous to 
the `Receive` method for [consumers](#consumer-operations)). This method blocks 
until a message is available. | `(Message, error)`
 `HasNext()` | Check if there is any message available to read from the current 
position| (bool, error)
 `Close()` | Closes the reader, disabling its ability to receive messages from 
the broker | `error`
+`Seek(MessageID)` | Reset the subscription associated with this reader to a 
specific message id | `error`

Review comment:
       ```suggestion
   `Seek(MessageID)` | Reset the subscription associated with this reader to a 
specific message ID | `error`
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to