A client's Heroku application is publishing messages to an instance of Apache Kafka on Heroku.
Whatdoes a second Heroku application need to do to consume those messages?
Suggested Answer: A
Get Premium Salesforce Certified Heroku Architect (Plat-Arch-206) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
- https://wwwxloudkarafka.com/blog/2016-11-30-part1-kafka-for-beginners-what-is-
apache-kafka.html
23 comments · newest first
CH
Chau
2 days ago
A is too specific. Topics cover all partitions.
KE
Keshia
7 days ago
But what about A? Subscribing to partitions could work too.
DA
Dan
13 days ago
Agreed, C is straightforward. Topics are key in Kafka.
EA
Earleen
18 days ago
I think C is the right choice. Subscribing to the topic makes sense.
GW
Gwenn
23 days ago
Final answer: C!
AS
Ashlee
28 days ago
Yeah, let's stick with C. It’s the best choice.
LU
Lucina
1 month ago
D is out of scope. No need to change the publishing app.
CH
Chun
1 month ago
Exactly! B might not be necessary for just consuming.
GW
Gwenn
1 month ago
Plus, consumer groups are more about load balancing, right?
AS
Ashlee
2 months ago
True, C is broader. More reliable for message consumption.
LU
Lucina
2 months ago
A is too specific. C covers all topics.
CH
Chun
2 months ago
But what about A? Subscribing to the partitions could work too.
GW
Gwenn
2 months ago
Agreed, C makes sense. It's straightforward.
AS
Ashlee
2 months ago
I think the answer is C. Subscribe to the Kafka topic.
LO
Louvenia
2 months ago
D seems unnecessary for just consuming messages.
YU
Yuki
3 months ago
A and B are also valid, but C is the simplest.
LO
Lorrine
3 months ago
Wait, can you really just subscribe to the topic? Sounds too easy.
KI
Kimberely
3 months ago
Totally agree, C makes the most sense.
MA
Malcolm
3 months ago
C is the way to go! Just subscribe to the topic.
AL
Alpha
3 months ago
I don’t think converting the publishing app into a stream processor is correct. That seems like overkill for just consuming messages.
BR
Brynn
4 months ago
I’m a bit confused about whether the consumer group is necessary. I feel like it might help with load balancing, but I can't recall the details.
BA
Barb
4 months ago
I remember practicing a question about Kafka consumers, and I think option C is definitely the right choice here.
GE
Geoffrey
4 months ago
I think the second application needs to subscribe to the Kafka topic, but I'm not entirely sure if it also needs to join a consumer group.