My Scala project built against kafka 0.8.1.1 commits consumer offsets as 
follows:

    connector.commitOffsets

This compiles without warnings. When I bumped the library dependency to 
0.8.2-beta, the compiler started emitting this error:

    [error] src/main/scala/com/whitepages/kafka/consumer/Connector.scala:21: 
missing arguments for method commitOffsets in trait ConsumerConnector;
    [error] follow this method with `_' if you want to treat it as a partially 
applied function
    [error]     connector.commitOffsets
    [error]               ^
    [error] one error found
    [error] (compile:compile) Compilation failed

The following change resolved the error:

    -    connector.commitOffsets
    +    connector.commitOffsets()

Should we expect compilation-breaking changes moving from 0.8.1.1 to 
0.8.2-beta? 

-- 
Jack Foy <j...@whitepages.com>



Reply via email to