Bird
0
0

Which of the following is the correct way to set fetch.min.bytes to 50000 in a Kafka consumer properties file?

easy📝 Syntax Q12 of 15
Kafka - Performance Tuning
Which of the following is the correct way to set fetch.min.bytes to 50000 in a Kafka consumer properties file?
Afetch.min.bytes=50000
Bfetch.min.bytes: 50000
C"fetch.min.bytes" = 50000
Dfetch_min_bytes=50000
Step-by-Step Solution
Solution:
  1. Step 1: Identify Kafka properties file syntax

    Kafka consumer properties use key=value pairs without quotes or underscores.
  2. Step 2: Match correct syntax

    fetch.min.bytes=50000 uses the correct key with dot notation and equals sign, matching Kafka config style.
  3. Final Answer:

    fetch.min.bytes=50000 -> Option A
  4. Quick Check:

    Kafka config uses key=value format [OK]
Quick Trick: Use dot notation and equals sign for Kafka configs [OK]
Common Mistakes:
  • Using colon instead of equals sign
  • Adding quotes around keys
  • Replacing dots with underscores

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes