Kafka Remanere
Kafka Remanere
Kafka Remanere
*broker
The only metadata retained on a per-consumer basis is the position of the consumer in the log, called ________.
*offset
Each Kafka partition has one server which acts as the _________.
*leaders
Communication between the clients and the servers is done with a simple, high-performance, language agnostic _________ p
ICMP
*TCP
SMTP
IP
In Kafka, ____________ will commit the latest offset returned by poll() and return once the offset is committed.
*commitSync()
enable.auto.commit=true
enable.auto.commit=false
auto.commit.interval.ms
The time in which the stream-processing application received the event to perform some operations on data.
Event time.
*Processing time.
og append time.
What will happen to the record, if default partitioner is used in case of key exists?
*Record will sent to partition where last message was sent. Error
Kafka will hash the key and use the result to map the message to a specific partition
Record will be lost
Record will sent randomly to one of available partitions.
This parameter allows you to set whether compression should be turned on for particular topics.
compression.codec
compression-attribute byte
None of the options
*compressed.topics
Which of the following serializer do we need to use, when the object we send to Kafka is a simple String or Integer?
Customer serializer
Generic serialization library like Avro,Thrift
*Default serializer
Configure the `____________ by which consumer in Kafka will commit the current offset.
*enable.auto.commit=false
auto.commit.interval.ms
topic _consumer_offsets
enable.auto.commit=true
If committed offset is larger than the offset of client processed last message, the messages between committed offset and last
will be processed exactly once
will be processed once or many times.
*will be missed
will be processed twice
What will happen to the record, if default partitioner is used in case of null key?
*Kafka will hash the key and use the result to map the message to a specific partition Error
Record will sent to partition where last message was sent.
Record will sent randomly to one of available partitions.
Record will be lost
The time when the event occurred which we are tracking and the record was created is known as _________.
Processing time.
*Event time.
Log append time.
committed.
estore their data.
end it out as messages to the Kafka cluster.
ring or Integer?
committed offset and last processed offset ____________.