A consumer wants to read messages from a specific partition of a topic. How can this be achieved?
Answer(s): B
assign() can be used for manual assignment of a partition to a consumer, in which case subscribe() must not be used. Assign() takes a collection of TopicPartition object as an argument
https://kafka.apache.org/23/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html#assign-java.util.Collection-
If I want to have extremely high confidence that leaders and replicas have my data, I should use?
Answer(s): C
acks=all means the leader will wait for all in-sync replicas to acknowledge the record. Also the min in- sync replica setting specifies the minimum number of replicas that need to be in-sync for the partition to remain available for writes.
Where are the dynamic configurations for a topic stored?
Answer(s): A
Dynamic topic configurations are maintained in Zookeeper.
You are using JDBC source connector to copy data from 2 tables to two Kafka topics. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. How many tasks are launched?
we have two tables, so the max number of tasks is 2
Post your Comments and Discuss Confluent CCDAK exam with other Community members:
Testbear commented on June 13, 2023 please upload ITALY upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the CCDAK content, but please register or login to continue.