$ fluvio topic create topic-from-cli
topic "topic-from-cli" created
$ fluvio topic list
NAME TYPE PARTITIONS REPLICAS IGNORE-RACK STATUS REASON
topic-from-cli computed 1 1 resolution::provisioned
$ fluvio topic list
NAME TYPE PARTITIONS REPLICAS IGNORE-RACK STATUS REASON
topic-from-cli computed 1 1 resolution::provisioned
topic-from-node computed 1 3 resolution::insufficient-resources need 2 more SPU
Topic from node has 3 replicas, whereas topic from cli has only 1.
There are 2 issues here
[ ] Node client should default to 1 partition.
[ ] Node client should work with options to change the number of partitions.
1) Create a topic from CLI
2) Setup Node Environment
3) create
producer.ts
with the following content5) Check the topics at the CLI:
Topic from node has 3 replicas, whereas topic from cli has only 1.
There are 2 issues here