Hi,

I'm experimenting on feeding the KafkaSpout from another language different
than Jaba, but I guess I have conceptual error...

>From Python I'm sending two values:

producer.send_messages("test", "val1", "val2")

But when from a Java bolt I try to handle it:

execute(Tuple input) {
  String val1 = input.getString(0);
  String val2 = input.getString(1);
  ...
}

I'm getting a IndexOutOfBoundsException: Index: 1, Size: 1.

I'd appreciate any advise how to correctly send tuples.

Thanks!


-- 
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: [email protected]
w: http://redlink.co

Reply via email to