Git Product home page Git Product logo

milena's People

Contributors

adamflott avatar bitemyapp avatar ibotty avatar pavelkucera avatar puffnfresh avatar sannysanoff avatar thsutton avatar tylerholien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

milena's Issues

Kafka 0.9.0 support

Hi, is Kafka 0.9.0 support planned?
Looks like it introduced some features that would make life easier for writing consumers, such as the ability to subscribe to a topic and built-in balancing consumer functionality.

`produceMessages xs` has bad asyptotic behavior on `length xs`

I had been using code in the form of:

xs <- parseFile
produceMessages xs

In one case length xs == 70000 and the process took significant processing power. Changing the code to instead use mapM_ produceMessages (chunksOf 1024 xs) is a huge improvement. Perhaps the exactly implications of produceMessages (xs ++ ys) vs produceMessages xs >> produceMessages ys should be documented?

Zookeeper integration

Well. I pinged the two Zookeeper client maintainers. They both said their respective clients worked.

https://hackage.haskell.org/package/hzk-1.0.0 - they aren't properly Cabalized

https://github.com/motus/haskell-zookeeper-client

I really have no idea for sure if they work. This a bookmark for further investigation and seeing what we want to do about integration.

I'm still not sold on clients controlling their offsets, but there might be other reasons to need/want to talk to the ZK cluster.

Release to Hackage

We're gonna start deploying a couple of milena applications to our staging servers this week. It'd be best for us to use a release rather than master.

Ping

No email or twitter on your GH account, so just popping in to say that I'm glad Milena is still bumping along :) 馃憤 馃惢 馃嵂 馃槃

Update to Kafka 0.9.0.0

Any thoughts on the delta between Kafka 0.8 and 0.9? I'm looking to use Kafka 0.9 + melena so if there isn't already progress we might send in a PR - any experience you already have on this path would be appreciated.

Invalid Topic names not handled

If I try to use an invalid topic name, I get a KafkaDeserializationError.

Error code 17 is documented as "InvalidTopicName" here: https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ErrorCodes

Took me a while to figure out what I am doing wrong. So it would be great if this error could be handled in order to provide a better error message.

Example:

位> :set -XOverloadedStrings
位> let k = mkKafkaState "foo" ("192.168.99.100", 9092)
位> runKafka k $ produceMessages [TopicAndMessage "\"foo" (makeMessage "msg")]
Left (KafkaDeserializationError "Failed reading: invalid error code: 17\nEmpty call stack\n")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.