What is true about partitions? (select two)
Only one of the replicas is elected as partition leader. And a broker can definitely hold many partitions from the same topic on its disk, try creating a topic with 12 partitions on one broker!
What data format isn't natively available with the Confluent REST Proxy?
Protocol buffers isn't a natively supported type for the Confluent REST Proxy, but you may use the binary format instead
To produce data to a topic, a producer must provide the Kafka client with...
All brokers can respond to a Metadata request, so a client can connect to any broker in the cluster and then figure out on its own which brokers to send data to.
A consumer wants to read messages from partitions 0 and 1 of a topic topic1. Code snippet is shown below.
consumer.subscribe(Arrays.asList("topic1"));
List
pc.add(new PartitionTopic("topic1", 0));
pc.add(new PartitionTopic("topic1", 1));
consumer.assign(pc);
subscribe() and assign() cannot be called by the same consumer, subscribe() is used to leverage the consumer group mechanism, while assign() is used to manually control partition assignment and reads assignment
To prevent network-induced duplicates when producing to Kafka, I should use
Producer idempotence helps prevent the network introduced duplicates. More details herehttps://cwiki.apache.org/confluence/display/KAFKA/Idempotent+Producer
Annamae
6 days agoAllene
14 days agoJosphine
22 days agoMaurine
29 days agoMatthew
1 month agoMerri
2 months agoAlbina
2 months agoAugustine
2 months agoMarylou
2 months agoYoulanda
2 months agoOllie
3 months agoAlex
3 months agoGearldine
3 months agoEmiko
4 months agoRozella
4 months agoOnita
4 months agoTawna
4 months agoWilda
5 months agoOwen
5 months agoSkye
5 months agoLizette
5 months agoLonny
5 months agoShawna
6 months agoVincent
6 months agoCory
8 months agoFrancisca
9 months agoCarry
10 months agoNorah
11 months agoBurma
1 year agoMica
1 year agoCatina
1 year agoLouisa
1 year agoJaime
1 year agoNikita
1 year agoAnnita
1 year agoGladys
1 year agoMira
1 year agoRolande
1 year agoCarey
1 year agoVirgina
1 year agoAllene
1 year agoBroderick
1 year agoGary
1 year agoShelton
1 year agoMisty
2 years agoMabel
2 years agoDorian
2 years agoMicheal
2 years agoLinsey
2 years ago