Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 73c3291

Browse files
authored
enable transactions in redpanda (#12)
1 parent 8d47340 commit 73c3291

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

‎src/redpanda/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ services:
2525
- --overprovisioned
2626
- --node-id
2727
- '0'
28+
- --set
29+
- redpanda.enable_idempotence=true
30+
- --set
31+
- redpanda.enable_transactions=true
2832
- --kafka-addr
2933
- PLAINTEXT://0.0.0.0:29097,OUTSIDE://0.0.0.0:9097
3034
- --advertise-kafka-addr

‎src/redpanda/pure-php/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cd pure-php
1414
php producer.php
1515
```
1616

17-
## Transactional producer (currently unsupported by Redpanda)
17+
## Transactional producer
1818
Will per default produce 10 messages:
1919
```bash
2020
cd pure-php

‎src/redpanda/pure-php/producer_transactional.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
use SimpleKafkaClient\Producer;
66
use SimpleKafkaClient\KafkaErrorException;
77

8-
echo 'Transaction example is currently work in progress, see https://github.com/php-kafka/php-kafka-examples/issues/10' . PHP_EOL;die;
9-
108
error_reporting(E_ALL);
119

1210
// -------- Intro --------

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /