CSE MCQs :: Apache Kafka
- Each kafka partition has one server which acts as the _________
- What are consumers or users?
- What is the benefits of Apache Kafka over the traditional technique?
- Kafka only provides a _________ order over messages within a partition
- Preferred Leader Election is enabled by default. Typically, a leader is restored within 5 minutes of coming back online. Which property can be set to minimize the chance of data loss during the switching back?
- What exactly Kafka key capabilities?
- What are the distinct layers are of Storm's codebase?
A.
If all consumer instances have the same consumer set, then this works like a conventional queue adjusting load over the consumers
|
B.
If all customer instances have dissimilar consumer groups, then this works like a publish-subscribe and all messages are transmitted to all the consumers
|
C.
Both A and B
|
D.
None
|
A.
First, Storm was designed from the very beginning to be compatible with multiple languages. Nimbus is a Thrift service and topologies are defined as Thrift structures. The usage of Thrift allows Storm to be used from any language
|
B.
Second, all of Storm's interfaces are specified as Java interfaces. So even though there's a lot of Clojure in Storm's implementation, all usage must go through the Java API. This means that every feature of Storm is always available via Java
|
C.
Third, Storm's implementation is largely in Clojure. Line-wise, Storm is about half Java code, half Clojure code. But Clojure is much more expressive, so in reality the great majority of the implementation logic is in Clojure
|
D.
All of these
|