About bulk_size_bytes in kafka river

bulkSize =
XContentMapValues.nodeIntegerValue(indexSettings.get("bulk_size_bytes"),
1010241024);

So if I input 10485760 as bulk size bytes ,the final bulk size would be 1?

I don't know what exactly this function "nodeIntegerValue" do

Plz help

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

the second value is a default value, in case the first setting is null.

--Alex

On Mon, Jul 15, 2013 at 5:15 AM, 田晓亮 xiaoliang.tian@gmail.com wrote:

bulkSize =
XContentMapValues.nodeIntegerValue(indexSettings.get("bulk_size_bytes"),
1010241024);

So if I input 10485760 as bulk size bytes ,the final bulk size would be 1?

I don't know what exactly this function "nodeIntegerValue" do

Plz help

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Got it ,thanks. But as bulk size, isn't 10,000,000 so big? is there a
maximun bulk size?

2013/7/15 Alexander Reelsen alr@spinscale.de

Hey,

the second value is a default value, in case the first setting is null.

--Alex

On Mon, Jul 15, 2013 at 5:15 AM, 田晓亮 xiaoliang.tian@gmail.com wrote:

bulkSize =
XContentMapValues.nodeIntegerValue(indexSettings.get("bulk_size_bytes"),
1010241024);

So if I input 10485760 as bulk size bytes ,the final bulk size would be
1?

I don't know what exactly this function "nodeIntegerValue" do

Plz help

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/RD2fbBtIY2Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

The bulk size is in bytes, so it's 10MB. This is big, yes.

The maximum bulk size is limited by the heap of the receiving node, and
if HTTP is used, by the maximum upload limit.

Jörg

Am 15.07.13 08:26, schrieb Xiaoliang Tian:

Got it ,thanks. But as bulk size, isn't 10,000,000 so big? is there a
maximun bulk size?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.