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:
RootRanger Commented on May 05, 2025 Just went through the CCDAK dumps. The new updates are dope, helps break down the tough parts real good. Definitely worth the time. Anonymous
Testbear Commented on June 13, 2023 please upload ITALY
To protect our content from bots for real learners like you, we ask you to register for free. Sign in or sign up now to continue with the CCDAK material!