kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liu brent <liubaoc...@gmail.com>
Subject How to import ImmutableMap in quick start?
Date Tue, 17 Apr 2012 09:16:37 GMT
Hi,
  In http://incubator.apache.org/kafka/quickstart.html, there is a line:
   Map<String, List<KafkaMessageStream<Message>>> topicMessageStreams =
connector.createMessageStreams(ImmutableMap.of("test", 4));
  But I do not know how to import ImmutableMap. Do we need to a package?

Thanks,
Brent

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message