Re: Documentation/Article/Case Study on Scala as the Kafka Backbone Language

2018-07-29 Thread Rahul Singh
4. I meant to say pattern matching. You can catch a match on the structure (int, string, string) without explicitly setting the case class in a case switch statement. https://alvinalexander.com/scala/how-to-use-pattern-matching-scala-match-case-expressions 6. I’ve been using partial classes in

Re: Documentation/Article/Case Study on Scala as the Kafka Backbone Language

2018-07-28 Thread jan
I'm not a scala expert and haven't touched it for 18 months, but with respect to Mr. Singh, I'd like to clarify or question a few of his points. 1. Statelessness is a tool; not an end in itself but a means to an end. As someone on HackerNews says, "control your state space or die", but the same gu

Re: Documentation/Article/Case Study on Scala as the Kafka Backbone Language

2018-07-23 Thread Rahul Singh
Not necessarily for Kafka, but you can definitely google “Java vs. Scala” and find a variety of reasons . I did a study for a client and ultimately here are the major reasons I found : 1. Functional programming language which leads itself to stateless systems 2. Better / easier to use stream pro

Documentation/Article/Case Study on Scala as the Kafka Backbone Language

2018-07-23 Thread M. Manna
Hello, Is anyone aware of any links or website where I can find information/case study etc. to why Scala was the best choice for kafka design? I hope this is not too much of a "Naive" question since I have had a very humble introduction to Scala. I understand that Scala is considered where distri