Reputation: 53
We are using confluent's s3 connector to send avro data from a topic to s3. We have 3 broker nodes and on all 3 we have confluent s3-connector running. In the configuration file of connector we have two topics and tasks.max=1. I am new to kafka and I have following doubts:
Upvotes: 0
Views: 58
Reputation: 191874
tasks.max=1
First, set that to the number of total partitions.
Replication factor doesn't matter. Consumers can only ever read from one partition at a time.
Connect forms a consumer group. That is the basic design for any Kafka consumer client. They read in parallel, depending on all your other properties.
Sounds like you are running connect-standalone
, and not connect-distributed
, however
If you have 3 machines, obviously use distributed mode
And yes, tasks and threads are funtionally equivalent, with the difference being that tasks will rebalance , while threads are logically only on a single machine.
Upvotes: 0