…ments KafkaSpouts for the documents and queries topics. In production, I used 5 document spouts and 3 query spouts (consistent with the Kafka partitioning). The bolts in the topology search the document stream and …Building a Streaming Search Platform742InsightThinh DuongFollowAug 29, 2017 · 1 min readFor queries, I used only 2 partitions with a replication factor of 3 so the query spouts shoud be 2 here.