camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r900321 - in /websites/production/camel/content: cache/main.pageCache couchbase.html
Date Thu, 06 Mar 2014 18:19:25 GMT
Author: buildbot
Date: Thu Mar  6 18:19:24 2014
New Revision: 900321

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/couchbase.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/couchbase.html
==============================================================================
--- websites/production/camel/content/couchbase.html (original)
+++ websites/production/camel/content/couchbase.html Thu Mar  6 18:19:24 2014
@@ -94,7 +94,7 @@
 &lt;/dependency&gt;]]></script>
 </div></div><h3 id="Couchbase-URIformat">URI format</h3><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[couchbase:http[s]://hostname/bucket?[options]]]></script>
-</div></div><h3 id="Couchbase-URIoptions">URI options</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Default
Value</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th><th
colspan="1" rowspan="1" class="confluenceTh">Context</th><th colspan="1" rowspan="1"
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">designDocumentName</td><td colspan="1" rowspan="1" class="confluenceTd">"beer"</td><td
colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" class="confluenceTd">The
Document Design name, defaults to the beer example distributed with Couchbase</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">viewName</td><td colspan="1" rowspan="1"
class="confluenceTd">"brewery_beers"</td><td colspan="1" rowspan="1
 " class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd">The Document view name, defaults, to the <span>beer
example <span>distributed with Couchbase</span></span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">limit</td><td colspan="1" rowspan="1"
class="confluenceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>Limit the number of results that should be returned, default
is </span>unlimited</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">descending</td><td
colspan="1" rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1"
class="confluenceTd">boolean</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Revert the sorting order of the
result set.</spa
 n></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">skip</td><td
colspan="1" rowspan="1" class="confluenceTd">0</td><td colspan="1" rowspan="1"
class="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd">Number of results to skip</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">rangeStartKey</td><td colspan="1"
rowspan="1" class="confluenceTd"><span>""</span></td><td colspan="1"
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(53,56,51);">Start
Key to return records in the given key range.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">rangeEndKey</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>""</span></td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Con
 sumer</td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color:
rgb(53,56,51);">End Key to return records in the given key range.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">consumerProcessedStrategy</td><td
colspan="1" rowspan="1" class="confluenceTd">none</td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The strategy applied with consumed
documents</p><p>none = consumed documents are untouched, you should beware of
duplicates (f.e. use an idempotent receiver)</p><p>delete = consumed documents
are deleted</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">operation</td><td
colspan="1" rowspan="1" class="confluenceTd">PUT</td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Producer</td><td
colspan="1" rowspan="1" class="confluenceTd">The opera
 tion to perform, currently supports the following values: PUT, DELETE, GET</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">autoStartIdForInserts</td><td colspan="1"
rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td
colspan="1" rowspan="1" class="confluenceTd">Producer</td><td colspan="1" rowspan="1"
class="confluenceTd">If set to true, document id will be automatically generated</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">startingIdForInsertsFrom</td><td
colspan="1" rowspan="1" class="confluenceTd">0</td><td colspan="1" rowspan="1"
class="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd">Producer</td><td
colspan="1" rowspan="1" class="confluenceTd">Starting value for the document id (if <span>autoStartIdForInserts
== true)</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">username</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>""</span></td><t
 d colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" class="confluenceTd">Username</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">password</td><td colspan="1" rowspan="1"
class="confluenceTd">""</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td
colspan="1" rowspan="1" class="confluenceTd">Shared</td><td colspan="1" rowspan="1"
class="confluenceTd">Password</td></tr></tbody></table></div><h3
id="Couchbase-MoreURIoptions">More URI options</h3><p>Following URI options
control how the&#160;<a shape="rect" class="external-link" href="http://www.couchbase.com/autodocs/couchbase-java-client-1.3.1/com/couchbase/client/CouchbaseConnectionFactoryBuilder.html"
rel="nofollow">CouchbaseConnectionFactoryBuilder</a> instantiates the connection.
Every option defaults to&#160;<a shape="rect" class="external-link" href="http://www.couchbase.com/communities/java/getting-started
 " rel="nofollow">couchbase-client</a>&#160;defaults.</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th
colspan="1" rowspan="1" class="confluenceTh">Default Value</th><th colspan="1"
rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Context</th><th
colspan="1" rowspan="1" class="confluenceTh"><span>Description</span></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">opTimeOut</td><td colspan="1" rowspan="1"
class="confluenceTd">2500</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Time in milliseconds for an operation
to time out</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">timeoutExceptionThreshold</td><td
colspan="1" rowspan="1" class="confluenceTd">998</td><td colspan="1" rowspan="1"
clas
 s="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Number of operations to time out
before the node is deemed down</span></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">readBufferSize</td><td colspan="1" rowspan="1"
class="confluenceTd">16384</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Read buffer size</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">maxReconnectDelay</td><td colspan="1"
rowspan="1" class="confluenceTd">30000</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Maximum number of milliseconds
to wait between reconnect attempts.</span></td></tr><tr><td colsp
 an="1" rowspan="1" class="confluenceTd">shouldOptimize</td><td colspan="1" rowspan="1"
class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td
colspan="1" rowspan="1" class="confluenceTd">Shared</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>Optimize behavior for the network</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">opQueueMaxBlockTime</td><td colspan="1"
rowspan="1" class="confluenceTd">10000</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd">The maximum time to block waiting for op queue
operations to complete, in milliseconds.</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">obsPollInterval</td><td colspan="1" rowspan="1"
class="confluenceTd">400</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span
 >Shared</span></td><td colspan="1" rowspan="1" class="confluenceTd">Wait
for the specified interval before the observe operation polls the nodes.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">obsTimeout</td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;-1</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Observe operation timeout</td></tr></tbody></table></div><h3
id="Couchbase-MessageHeaders">Message Headers</h3><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th
colspan="1" rowspan="1" class="confluenceTh">Default Value</th><th colspan="1"
rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Context</th><th
colspan="1" rowspan="1" class="confluenceTh"><span>Description</span></th></tr><tr><td
colspan="1" rowspan="
 1" class="confluenceTd">CCB_KEY</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Key of the consumed row</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">CCB_ID</td><td colspan="1" rowspan="1"
class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Id of the consumed row</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">CCB_DDN</td><td colspan="1" rowspan="1"
class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><spa
 n>Document Design name</span></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">CCB_VN</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td><td
colspan="1" rowspan="1" class="confluenceTd">View Name</td></tr></tbody></table></div><h3
id="Couchbase-Example">Example</h3><p>Consume 10 documents from "beer-sample"
bucket using Design Document "beer" and View "brewery_beers":</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h3 id="Couchbase-URIoptions">URI options</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Default
Value</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th><th
colspan="1" rowspan="1" class="confluenceTh">Context</th><th colspan="1" rowspan="1"
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">additionalHosts</td><td colspan="1" rowspan="1" class="confluenceTd">""</td><td
colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" class="confluenceTd">Comma
separated list of additional hostnames</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">designDocumentName</td><td colspan="1" rowspan="1" class="confluenceTd">"beer"</td><td
colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan
 ="1" rowspan="1" class="confluenceTd">Consumer</td><td colspan="1" rowspan="1"
class="confluenceTd">The Document Design name, defaults to the beer example distributed
with Couchbase</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">viewName</td><td
colspan="1" rowspan="1" class="confluenceTd">"brewery_beers"</td><td colspan="1"
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd">The Document view name, defaults, to the <span>beer
example <span>distributed with Couchbase</span></span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">limit</td><td colspan="1" rowspan="1"
class="confluenceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>Limit the number of results that should be returned, default
is </span>unlimited</td></tr><
 tr><td colspan="1" rowspan="1" class="confluenceTd">descending</td><td
colspan="1" rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1"
class="confluenceTd">boolean</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Revert the sorting order of the
result set.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">skip</td><td
colspan="1" rowspan="1" class="confluenceTd">0</td><td colspan="1" rowspan="1"
class="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd">Number of results to skip</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">rangeStartKey</td><td colspan="1"
rowspan="1" class="confluenceTd"><span>""</span></td><td colspan="1"
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd"><s
 pan style="color: rgb(53,56,51);">Start Key to return records in the given key range.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">rangeEndKey</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>""</span></td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(53,56,51);">End
Key to return records in the given key range.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">consumerProcessedStrategy</td><td
colspan="1" rowspan="1" class="confluenceTd">none</td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The strategy applied with consumed
documents</p><p>none = consumed documents are untouched, you should beware of
duplicates (f.e. use an idempotent receiver)</p><p>delet
 e = consumed documents are deleted</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">operation</td><td colspan="1" rowspan="1" class="confluenceTd">PUT</td><td
colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd">Producer</td><td colspan="1" rowspan="1" class="confluenceTd">The
operation to perform, currently supports the following values: PUT, DELETE, GET</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">autoStartIdForInserts</td><td colspan="1"
rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td
colspan="1" rowspan="1" class="confluenceTd">Producer</td><td colspan="1" rowspan="1"
class="confluenceTd">If set to true, document id will be automatically generated</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">startingIdForInsertsFrom</td><td
colspan="1" rowspan="1" class="confluenceTd">0</td><td colspan="1" rowspan="1"
class="confluence
 Td">int</td><td colspan="1" rowspan="1" class="confluenceTd">Producer</td><td
colspan="1" rowspan="1" class="confluenceTd">Starting value for the document id (if <span>autoStartIdForInserts
== true)</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">producerRetryAttempts</td><td
colspan="1" rowspan="1" class="confluenceTd">2</td><td colspan="1" rowspan="1"
class="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd">Producer</td><td
colspan="1" rowspan="1" class="confluenceTd">Number of retries</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">producerRetryPause</td><td colspan="1"
rowspan="1" class="confluenceTd">5000</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd">Producer</td><td colspan="1" rowspan="1"
class="confluenceTd">Pause between retries (in ms)</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">persistTo</td><td colspan="1" rowspan="1"
class="confluence
 Td">0</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Producer</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>0: <span style="color: rgb(53,56,51);">Don't
wait for persistence on any nodes.</span></p><p><span style="color: rgb(53,56,51);">1:
<span style="color: rgb(53,56,51);">Persist to Master.</span></span></p><p><span
style="color: rgb(53,56,51);">2: <span style="color: rgb(53,56,51);">Persist to at
least two nodes including Master.</span></span></p><p><span style="color:
rgb(53,56,51);"><span style="color: rgb(53,56,51);">3: <span style="color: rgb(53,56,51);">Persist
to at least three nodes including Master.</span></span></span></p><p><span
style="color: rgb(53,56,51);"><span style="color: rgb(53,56,51);"><span style="color:
rgb(53,56,51);">4: <span style="color: rgb(53,56,51);">Persist to at least four nodes
including Master.</span></span></span></span></p></td></tr><tr><td
colspan="1" rowspan=
 "1" class="confluenceTd">replicateTo</td><td colspan="1" rowspan="1" class="confluenceTd">0</td><td
colspan="1" rowspan="1" class="confluenceTd">int</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>Producer</span></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>0: <span style="color: rgb(53,56,51);">Don't replicate.</span></p><p>1:
<span style="color: rgb(53,56,51);">Replicate to at least one node.</span></p><p>2:
<span style="color: rgb(53,56,51);">Replicate to at least two nodes.</span></p><p>3:
<span style="color: rgb(53,56,51);">Replicate to at least three nodes.</span></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">username</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>""</span></td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Shared</td><td
colspan="1" rowspan="1" class="confluenceTd">Username</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">password</
 td><td colspan="1" rowspan="1" class="confluenceTd">""</td><td colspan="1"
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Shared</td><td
colspan="1" rowspan="1" class="confluenceTd">Password</td></tr></tbody></table></div><h3
id="Couchbase-MoreURIoptions">More URI options</h3><p>Following URI options
control how the&#160;<a shape="rect" class="external-link" href="http://www.couchbase.com/autodocs/couchbase-java-client-1.3.1/com/couchbase/client/CouchbaseConnectionFactoryBuilder.html"
rel="nofollow">CouchbaseConnectionFactoryBuilder</a> instantiates the connection.
Every option defaults to&#160;<a shape="rect" class="external-link" href="http://www.couchbase.com/communities/java/getting-started"
rel="nofollow">couchbase-client</a>&#160;defaults.</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th
colspan="1" rowspan="1" class="confluenceTh">Default Value</th><
 th colspan="1" rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1"
class="confluenceTh">Context</th><th colspan="1" rowspan="1" class="confluenceTh"><span>Description</span></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">opTimeOut</td><td colspan="1" rowspan="1"
class="confluenceTd">2500</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Time in milliseconds for an operation
to time out</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">timeoutExceptionThreshold</td><td
colspan="1" rowspan="1" class="confluenceTd">998</td><td colspan="1" rowspan="1"
class="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Number of operations to time out
before the node is deemed down</span></td></tr><tr><td colspan
 ="1" rowspan="1" class="confluenceTd">readBufferSize</td><td colspan="1" rowspan="1"
class="confluenceTd">16384</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Read buffer size</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">maxReconnectDelay</td><td colspan="1"
rowspan="1" class="confluenceTd">30000</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Maximum number of milliseconds
to wait between reconnect attempts.</span></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">shouldOptimize</td><td colspan="1" rowspan="1"
class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td
colspan="1" rowspan="1" class="confluenceTd">Shared</td><td colsp
 an="1" rowspan="1" class="confluenceTd"><span>Optimize behavior for the network</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">opQueueMaxBlockTime</td><td colspan="1"
rowspan="1" class="confluenceTd">10000</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd">The maximum time to block waiting for op queue
operations to complete, in milliseconds.</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">obsPollInterval</td><td colspan="1" rowspan="1"
class="confluenceTd">400</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Wait for the specified interval before the
observe operation polls the nodes.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">obsTimeout</td><td colspan="1" rowspan="
 1" class="confluenceTd">&#160;-1</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Observe operation timeout</td></tr></tbody></table></div><h3
id="Couchbase-MessageHeaders">Message Headers</h3><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th
colspan="1" rowspan="1" class="confluenceTh">Default Value</th><th colspan="1"
rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Context</th><th
colspan="1" rowspan="1" class="confluenceTh"><span>Description</span></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">CCB_KEY</td><td colspan="1" rowspan="1"
class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
cols
 pan="1" rowspan="1" class="confluenceTd">Key of the consumed row</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">CCB_ID</td><td colspan="1" rowspan="1"
class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Id of the consumed row</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">CCB_DDN</td><td colspan="1" rowspan="1"
class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Document Design name</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">CCB_VN</td><td colspan="1" rowspan="1"
class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1
 " rowspan="1" class="confluenceTd"><span>Consumer</span></td><td
colspan="1" rowspan="1" class="confluenceTd">View Name</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">CCB_TTL</td><td colspan="1" rowspan="1"
class="confluenceTd">0</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd">Producer</td><td colspan="1" rowspan="1"
class="confluenceTd">TTL of the document</td></tr></tbody></table></div><h3
id="Couchbase-Example">Example</h3><p>Consume 10 documents from "beer-sample"
bucket using Design Document "beer" and View "brewery_beers":</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;couchbase:http://localhost/beer-sample?designDocumentName=beer&amp;viewName=brewery_beers&amp;limit=10&quot;)
 	.to(&quot;mock:result&quot;);]]></script>
 </div></div><p>&#160;</p><p>Add a document with ID "12346"
to "default" bucket:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">



Mime
View raw message