Your producer is producing at a very high rate and the batches are completely full each
time. How can you improve the producer throughput? (select two)
Correct Answer:
AC
batch.size controls how many bytes of data to collect before sending messages to the Kafka broker. Set this as high as possible, without exceeding available memory. Enabling compression can also help make more compact batches and increase the throughput of your producer. Linger.ms will have no effect as the batches are already full
Using the Confluent Schema Registry, where are Avro schema stored?
Correct Answer:
D
The Schema Registry stores all the schemas in the _schemas Kafka topic
How much should be the heap size of a broker in a production setup on a machine with 256 GB of RAM, in PLAINTEXT mode?
Correct Answer:
A
In Kafka, a small heap size is needed, while the rest of the RAM goes automatically to the page cache (managed by the OS). The heap size goes slightly up if you need to enable SSL
In Avro, adding a field to a record without default is a schema evolution
Correct Answer:
A
Clients with old schema will be able to read records saved with new schema.
Where are KSQL-related data and metadata stored?
Correct Answer:
A
metadata is stored in and built from the KSQL command topic. Each KSQL server has its own in-memory version of the metastore.