<< Prev Question Next Question >>

Question 29/53

How can you gracefully make a Kafka consumer to stop immediately polling data from Kafka and gracefully shut down a consumer application?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (53q)
Question 1: You want to send a message of size 3 MB to a topic with defa...
Question 2: There are 3 brokers in the cluster. You want to create a top...
Question 3: How do Kafka brokers ensure great performance between the pr...
Question 4: How will you find out all the partitions without a leader?...
Question 5: A bank uses a Kafka cluster for credit card payments. What s...
Question 6: Which actions will trigger partition rebalance for a consume...
Question 7: How does a consumer commit offsets in Kafka?...
Question 8: I am producing Avro data on my Kafka cluster that is integra...
Question 9: A consumer is configured with enable.auto.commit=false. What...
Question 10: In Kafka, every broker... (select three)...
Question 11: If I want to send binary data through the REST proxy, it nee...
Question 12: If I supply the setting compression.type=snappy to my produc...
Question 13: Your topic is log compacted and you are sending a message wi...
Question 14: To continuously export data from Kafka into a target databas...
Question 15: Select the Kafka Streams joins that are always windowed join...
Question 16: Suppose you have 6 brokers and you decide to create a topic ...
Question 17: A topic has three replicas and you set min.insync.replicas t...
Question 18: What exceptions may be caught by the following producer? (se...
Question 19: How will you find out all the partitions where one or more o...
Question 20: You are running a Kafka Streams application in a Docker cont...
Question 21: What is a generic unique id that I can use for messages I re...
Question 22: There are 3 producers writing to a topic with 5 partitions. ...
Question 23: A Zookeeper ensemble contains 5 servers. What is the maximum...
Question 24: If I want to have an extremely high confidence that leaders ...
Question 25: What's is true about Kafka brokers and clients from version ...
Question 26: To read data from a topic, the following configuration is ne...
Question 27: Producing with a key allows to......
Question 28: The rule "same key goes to the same partition" is true unles...
Question 29: How can you gracefully make a Kafka consumer to stop immedia...
Question 30: What is the risk of increasing max.in.flight.requests.per.co...
Question 31: Where are KSQL-related data and metadata stored?...
Question 32: A consumer wants to read messages from partitions 0 and 1 of...
Question 33: By default, which replica will be elected as a partition lea...
Question 34: What happens if you write the following code in your produce...
Question 35: What's a Kafka partition made of?...
Question 36: A topic receives all the orders for the products that are av...
Question 37: What are the requirements for a Kafka broker to connect to a...
Question 38: In the Kafka consumer metrics it is observed that fetch-rate...
Question 39: A Zookeeper configuration has tickTime of 2000, initLimit of...
Question 40: When auto.create.topics.enable is set to true in Kafka confi...
Question 41: Which of the following is not an Avro primitive type?...
Question 42: How will you read all the messages from a topic in your KSQL...
Question 43: Which KSQL queries write to Kafka?...
Question 44: When is the onCompletion() method called? private class Prod...
Question 45: What is the disadvantage of request/response communication?...
Question 46: You are building a consumer application that processes event...
Question 47: How often is log compaction evaluated?...
Question 48: A consumer wants to read messages from a specific partition ...
Question 49: You have a consumer group of 12 consumers and when a consume...
Question 50: Where are the ACLs stored in a Kafka cluster by default?...
Question 51: How will you set the retention for the topic named my-topic ...
Question 52: Which of the following is true regarding thread safety in th...
Question 53: You are using JDBC source connector to copy data from 2 tabl...