Hi All,

Why does the Kafka codebase contain both Scala and Java code? There are
even some cases where the same class (i.e. javaapi.SimpleConsumer and
kafka.consumer.SimpleConsumer). Is it just to allow a Scala developer to
write Scala and a Java developer to use Java? We are trying to use the
SimpleConsumer to gather more in-depth information about the partitions on
a topic, and the documentation is fragmented and consequently it's unclear
whether we have to use one of either Scala or Java, or if we have complete
freedom to choose either (none of us have programmed in Scala, so we're
inclined to choose the Java one).

Functionally are both the scala and java codebases the same?

Thanks in advance,

Alex Melville

Reply via email to