Table of Contents | ||
---|---|---|
|
...
Follow the steps below to build the sample.
Anchor | ||||
---|---|---|---|---|
|
Follow the steps below to upload the Carbon Application (c-App) file of this sample. For more information, see Carbon Application Deployment for DAS.
...
Edit the values of the following properties in the
<DAS_HOME>/repository/conf/data-bridge/data-bridge-config.xml
file as shown below.Code Block language xml <dataBridgeConfiguration> <maxEventBufferCapacity>5000</maxEventBufferCapacity> <eventBufferSize>2000</eventBufferSize> </dataBridgeConfiguration>
Edit the values of the following properties in the
<DAS_HOME>/repository/conf/data-bridge/data-agent-config.xml
file as shown below.Code Block language xml <DataAgentsConfiguration> <Agent> <Name>Thrift</Name> <QueueSize>65536</QueueSize> <BatchSize>500</BatchSize> </Agent> </DataAgentsConfiguration>
Edit the values of the following properties in the
<DAS_HOME>/repository/conf/analytics/analytics-eventsink-config.xml
file as shown below.Code Block language xml <AnalyticsEventSinkConfiguration> <QueueSize>65536</QueueSize> <maxQueueCapacity>1000</maxQueueCapacity> <maxBatchSize>1000</maxBatchSize> </AnalyticsEventSinkConfiguration>AnalyticsEventSinkConfiguration
Running the data publisher
Navigate to <DAS_HOME>/samples/wikipedia/
directory in a new CLI tab, and execute the following command to run the data publisher: ant -Dpath=/home/laf/Downloads/enwiki-20150805-pages-articles.xml -Dcount=1000