Skip to content

Commit

Permalink
Fix broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
visortelle committed Mar 2, 2024
1 parent a8e6c53 commit bd4b5cf
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
20 changes: 10 additions & 10 deletions docs/txn-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ sidebar_label: "Get started"
description: Get started to use Pulsar transaction API.
---

Pulsar transaction is primarily a server-side and protocol-level feature. This tutorial guides you through every step of how to use the [Pulsar transaction API](/api/admin/) to send and receive messages in a Java client.
Pulsar transaction is primarily a server-side and protocol-level feature. This tutorial guides you through every step of how to use the [Pulsar transaction API](/api/admin/) to send and receive messages in a Java client.

:::note

Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0 or later** versions. It is only available for **Java** clients.
Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0 or later** versions. It is only available for **Java** clients.

:::
## Prerequisites

- [Start Pulsar 2.8.0 or later versions](#getting-started-standalone.md)
- [Start Pulsar 2.8.0 or later versions](getting-started-standalone.md)

## Steps

To use Pulsar transaction API, complete the following steps.

1. Enable transactions.
1. Enable transactions.

You can set the following configurations in the [`broker.conf`](https://github.com/apache/pulsar/blob/master/conf/broker.conf) or [`standalone.conf`](https://github.com/apache/pulsar/blob/master/conf/standalone.conf) file.

Expand Down Expand Up @@ -55,7 +55,7 @@ To use Pulsar transaction API, complete the following steps.
```

3. Create a Pulsar client and enable transactions.

4. Create producers and consumers.

5. Produce and receive messages.
Expand Down Expand Up @@ -111,11 +111,11 @@ To use Pulsar transaction API, complete the following steps.
// Step 5: consume messages and produce them to output topics with transactions.
for (int i = 0; i < count; i++) {
// Step 5: the consumer successfully receives messages.
// Step 5: the consumer successfully receives messages.
Message<String> message = inputConsumer.receive();
// Step 6: create transactions.
// The transaction timeout is specified as 10 seconds.
// Step 6: create transactions.
// The transaction timeout is specified as 10 seconds.
// If the transaction is not committed within 10 seconds, the transaction is automatically aborted.
Transaction txn = null;
try {
Expand Down Expand Up @@ -172,4 +172,4 @@ To use Pulsar transaction API, complete the following steps.
## Related topics
- To learn more features that can be used with transactions, see [Pulsar transactions - Advanced features](txn-advanced-features.md).
- To learn more features that can be used with transactions, see [Pulsar transactions - Advanced features](txn-advanced-features.md).
18 changes: 9 additions & 9 deletions versioned_docs/version-3.0.x/txn-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ title: Get started
sidebar_label: "Get started"
---

Pulsar transaction is primarily a server-side and protocol-level feature. This tutorial guides you through every step of how to use the [Pulsar transaction API](/api/admin/) to send and receive messages in a Java client.
Pulsar transaction is primarily a server-side and protocol-level feature. This tutorial guides you through every step of how to use the [Pulsar transaction API](/api/admin/) to send and receive messages in a Java client.

:::note

Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0 or later** versions. It is only available for **Java** clients.
Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0 or later** versions. It is only available for **Java** clients.

:::
## Prerequisites

- [Start Pulsar 2.8.0 or later versions](#getting-started-standalone.md)
- [Start Pulsar 2.8.0 or later versions](getting-started-standalone.md)

## Steps

Expand Down Expand Up @@ -50,7 +50,7 @@ Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0
```

3. Create a Pulsar client and enable transactions.

4. Create producers and consumers.

5. Produce and receive messages.
Expand Down Expand Up @@ -106,11 +106,11 @@ Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0
// Step 5: consume messages and produce them to output topics with transactions.
for (int i = 0; i < count; i++) {
// Step 5: the consumer successfully receives messages.
// Step 5: the consumer successfully receives messages.
Message<String> message = inputConsumer.receive();
// Step 6: create transactions.
// The transaction timeout is specified as 10 seconds.
// Step 6: create transactions.
// The transaction timeout is specified as 10 seconds.
// If the transaction is not committed within 10 seconds, the transaction is automatically aborted.
Transaction txn = null;
try {
Expand Down Expand Up @@ -167,4 +167,4 @@ Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0
## Related topics
- To learn more features that can be used with transactions, see [Pulsar transactions - Advanced features](txn-advanced-features.md).
- To learn more features that can be used with transactions, see [Pulsar transactions - Advanced features](txn-advanced-features.md).
18 changes: 9 additions & 9 deletions versioned_docs/version-3.1.x/txn-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ title: Get started
sidebar_label: "Get started"
---

Pulsar transaction is primarily a server-side and protocol-level feature. This tutorial guides you through every step of how to use the [Pulsar transaction API](/api/admin/) to send and receive messages in a Java client.
Pulsar transaction is primarily a server-side and protocol-level feature. This tutorial guides you through every step of how to use the [Pulsar transaction API](/api/admin/) to send and receive messages in a Java client.

:::note

Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0 or later** versions. It is only available for **Java** clients.
Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0 or later** versions. It is only available for **Java** clients.

:::
## Prerequisites

- [Start Pulsar 2.8.0 or later versions](#getting-started-standalone.md)
- [Start Pulsar 2.8.0 or later versions](getting-started-standalone.md)

## Steps

Expand Down Expand Up @@ -50,7 +50,7 @@ Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0
```

3. Create a Pulsar client and enable transactions.

4. Create producers and consumers.

5. Produce and receive messages.
Expand Down Expand Up @@ -106,11 +106,11 @@ Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0
// Step 5: consume messages and produce them to output topics with transactions.
for (int i = 0; i < count; i++) {
// Step 5: the consumer successfully receives messages.
// Step 5: the consumer successfully receives messages.
Message<String> message = inputConsumer.receive();
// Step 6: create transactions.
// The transaction timeout is specified as 10 seconds.
// Step 6: create transactions.
// The transaction timeout is specified as 10 seconds.
// If the transaction is not committed within 10 seconds, the transaction is automatically aborted.
Transaction txn = null;
try {
Expand Down Expand Up @@ -167,4 +167,4 @@ Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0
## Related topics
- To learn more features that can be used with transactions, see [Pulsar transactions - Advanced features](txn-advanced-features.md).
- To learn more features that can be used with transactions, see [Pulsar transactions - Advanced features](txn-advanced-features.md).
20 changes: 10 additions & 10 deletions versioned_docs/version-3.2.x/txn-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ sidebar_label: "Get started"
description: Get started to use Pulsar transaction API.
---

Pulsar transaction is primarily a server-side and protocol-level feature. This tutorial guides you through every step of how to use the [Pulsar transaction API](/api/admin/) to send and receive messages in a Java client.
Pulsar transaction is primarily a server-side and protocol-level feature. This tutorial guides you through every step of how to use the [Pulsar transaction API](/api/admin/) to send and receive messages in a Java client.

:::note

Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0 or later** versions. It is only available for **Java** clients.
Currently, [Pulsar transaction API](/api/admin/) is available in **Pulsar 2.8.0 or later** versions. It is only available for **Java** clients.

:::
## Prerequisites

- [Start Pulsar 2.8.0 or later versions](#getting-started-standalone.md)
- [Start Pulsar 2.8.0 or later versions](getting-started-standalone.md)

## Steps

To use Pulsar transaction API, complete the following steps.

1. Enable transactions.
1. Enable transactions.

You can set the following configurations in the [`broker.conf`](https://github.com/apache/pulsar/blob/master/conf/broker.conf) or [`standalone.conf`](https://github.com/apache/pulsar/blob/master/conf/standalone.conf) file.

Expand Down Expand Up @@ -55,7 +55,7 @@ To use Pulsar transaction API, complete the following steps.
```

3. Create a Pulsar client and enable transactions.

4. Create producers and consumers.

5. Produce and receive messages.
Expand Down Expand Up @@ -111,11 +111,11 @@ To use Pulsar transaction API, complete the following steps.
// Step 5: consume messages and produce them to output topics with transactions.
for (int i = 0; i < count; i++) {
// Step 5: the consumer successfully receives messages.
// Step 5: the consumer successfully receives messages.
Message<String> message = inputConsumer.receive();
// Step 6: create transactions.
// The transaction timeout is specified as 10 seconds.
// Step 6: create transactions.
// The transaction timeout is specified as 10 seconds.
// If the transaction is not committed within 10 seconds, the transaction is automatically aborted.
Transaction txn = null;
try {
Expand Down Expand Up @@ -172,4 +172,4 @@ To use Pulsar transaction API, complete the following steps.
## Related topics
- To learn more features that can be used with transactions, see [Pulsar transactions - Advanced features](txn-advanced-features.md).
- To learn more features that can be used with transactions, see [Pulsar transactions - Advanced features](txn-advanced-features.md).

0 comments on commit bd4b5cf

Please sign in to comment.