Skip to content

Commit 1a25056

Browse files
authored
Merge pull request #84 from majusko/readme-update
Update README.md
2 parents da94a67 + f1981b0 commit 1a25056

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ class MyConsumer {
6868
}
6969
```
7070

71+
#### 4. Minimal Configuration
72+
73+
```properties
74+
75+
pulsar.service-url=pulsar://localhost:6650
76+
77+
```
78+
7179
## Example project
7280

7381
#### [Java Pulsar Example Project](https://github.com/majusko/java-pulsar-example)
@@ -99,9 +107,9 @@ pulsar.consumer.default.ack-timeout-ms=30
99107

100108
```
101109

102-
###Properties explained:
110+
### Properties explained:
103111

104-
####PulsarClient
112+
#### PulsarClient
105113
- `pulsar.service-url` - URL used to connect to pulsar cluster.
106114
- `pulsar.io-threads` - Number of threads to be used for handling connections to brokers.
107115
- `pulsar.listener-threads` - Set the number of threads to be used for message listeners/subscribers.
@@ -115,7 +123,7 @@ pulsar.consumer.default.ack-timeout-ms=30
115123
- `pulsar.namespace` - Namespace separation. For example: app1/app2 OR dev/staging/prod. More in [Namespaces docs](https://pulsar.apache.org/docs/en/concepts-messaging/#namespaces).
116124
- `pulsar.tenant` - Pulsar multi-tenancy support. More in [Multi Tenancy docs](https://pulsar.apache.org/docs/en/concepts-multi-tenancy/).
117125

118-
####Consumer
126+
#### Consumer
119127
- `pulsar.consumer.default.dead-letter-policy-max-redeliver-count` - How many times should pulsar try to retry sending the message to consumer.
120128
- `pulsar.consumer.default.ack-timeout-ms` - How soon should be the message acked and how soon will dead letter mechanism try to retry to send the message.
121129

0 commit comments

Comments
 (0)