forked from docs/doc-exports
DIS UMN 20230116 version
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com> Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
This commit is contained in:
parent
8450fb92f1
commit
9d7af5e822
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,7 +0,0 @@
|
||||
<a name="dis_01_0000"></a><a name="dis_01_0000"></a>
|
||||
|
||||
<h1 class="topictitle1">Glossary</h1>
|
||||
<div id="body1514354835591"><p id="dis_01_0000__p8060118">For details, see <a href="https://docs.otc.t-systems.com/en-us/glossary/index.html" target="_blank" rel="noopener noreferrer">Glossary</a>.</p>
|
||||
</div>
|
||||
<div></div>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<h1 class="topictitle1">What Is DIS?</h1>
|
||||
<div id="body1493022272989"><p id="dis_01_0001__p5708645417727">Data Ingestion Service (DIS) addresses the challenge of transmitting data from outside the cloud to inside the cloud. DIS builds data intake streams for custom applications capable of processing or analyzing streaming data. DIS continuously captures, transmits, and stores terabytes of data from hundreds of thousands of sources every hour, such as logs, social media feeds, website clickstreams, and location-tracking events.</p>
|
||||
<div class="section" id="dis_01_0001__section9933162516532"><h4 class="sectiontitle">Data Flows</h4><p id="dis_01_0001__p1548222913560">If you set the dump destination to Object Storage Service (OBS), the streaming data will be dumped to OBS.</p>
|
||||
<div class="fignone" id="dis_01_0001__fig783851416507"><span class="figcap"><b>Figure 1 </b>Data flow-1</span><br><span><img class="vsd" id="dis_01_0001__image1583813145505" src="en-us_image_0000001222097314.png"></span></div>
|
||||
<div class="fignone" id="dis_01_0001__fig783851416507"><span class="figcap"><b>Figure 1 </b>Data flow-1</span><br><span><img class="vsd" id="dis_01_0001__image1583813145505" src="en-us_image_0164044795.png"></span></div>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0001__section63248778"><h4 class="sectiontitle">Basic Concepts</h4><ul id="dis_01_0001__ul38841670"><li id="dis_01_0001__li14030717">Stream: A DIS stream is an ordered sequence of data records. Streams are distinguished from each other by the stream names assigned during DIS stream creation. When reading or writing streaming data, you need to specify the name of DIS stream from or to which data will be read or written.</li><li id="dis_01_0001__li1533132951112">Partition: Data records in DIS streams are distributed into partitions. A partition is a base throughput unit of a DIS stream. When creating a DIS stream, you are expected to specify the number of partitions needed within your stream.</li><li id="dis_01_0001__li62746268">Record: A record is a unit of data stored in a DIS stream. A record consists of a serial number, partition key, and data block. Data blocks are important data that your data producer adds to the data stream. The maximum size of a data block (data payload before base64 encoding) is 1 MB.</li><li id="dis_01_0001__li6617653310337">Sequence number: Each data record has a sequence number that is unique within its partition. The sequence number is assigned by DIS when a data producer calls PutRecords to add data to a DIS stream.<p id="dis_01_0001__p3562570110338"><a name="dis_01_0001__li6617653310337"></a><a name="li6617653310337"></a>Sequence numbers for the same partition key generally increase over time; the longer the time period between write requests (PutRecords requests), the larger the sequence numbers become.</p>
|
||||
</li><li id="dis_01_0001__li3882215410531">DIS application: DIS applications write, read, and process data in DIS streams. You can develop DIS applications using the client library software development kit (SDK).</li><li id="dis_01_0001__li604878981068">SDK: SDK is a Java-based client library. With SDK, you can build DIS applications easily to write, read, and process data in DIS streams.</li><li id="dis_01_0001__li1594842311426">Project: Projects are used to group and isolate OpenStack resources (computing resources, storage resources, and network resources). A project can be a department or a project team. Multiple projects can be created for one tenant account. A region has multiple projects, but one project is related to one region. DIS streams in different projects cannot communicate with each other.</li><li id="dis_01_0001__li2367344406">Checkpoint: When an application consumes data, the latest serial number of the consumed data is recorded as a checkpoint. When the data is reconsumed, the consumption can be continued based on this checkpoint.</li><li id="dis_01_0001__li6731144794017">Application: When multiple applications consume data in the same stream, an APP is used as an identifier to distinguish consumption checkpoints of different applications.</li></ul>
|
||||
<div class="section" id="dis_01_0001__section63248778"><h4 class="sectiontitle">Basic Concepts</h4><ul id="dis_01_0001__ul38841670"><li id="dis_01_0001__li14030717">Stream: A DIS stream is an ordered sequence of data records. Streams are distinguished from each other by the stream names assigned during DIS stream creation. When reading or writing streaming data, you need to specify the name of DIS stream from or to which data will be read or written.</li><li id="dis_01_0001__li1533132951112">Partition: Data records in DIS streams are distributed into partitions. A partition is a base throughput unit of a DIS stream. When creating a DIS stream, you are expected to specify the number of partitions needed within your stream.</li><li id="dis_01_0001__li62746268">Record: A record is a unit of data stored in a DIS stream. A record consists of a serial number, partition key, and data block. Data blocks are important data that your data producer adds to the data stream. The maximum size of a data block (data payload before base64 encoding) is 1 MB.</li><li id="dis_01_0001__li6617653310337">Sequence number: Each data record has a sequence number that is unique within its partition. The sequence number is assigned by DIS when a data producer calls PutRecords to add data to a DIS stream. <p id="dis_01_0001__p3562570110338"><a name="dis_01_0001__li6617653310337"></a><a name="li6617653310337"></a>Sequence numbers for the same partition key generally increase over time; the longer the time period between write requests (PutRecords requests), the larger the sequence numbers become.</p>
|
||||
</li><li id="dis_01_0001__li3882215410531">DIS application: DIS applications write, read, and process data in DIS streams. You can develop DIS applications using the client library software development kit (SDK).</li><li id="dis_01_0001__li604878981068">SDK: The SDK is a Java-based client library. With the SDK, you can build DIS applications easily to write, read, and process data in DIS streams.</li><li id="dis_01_0001__li1594842311426">Project: Projects are used to group and isolate OpenStack resources (computing resources, storage resources, and network resources). A project can be a department or a project team. Multiple projects can be created for one tenant account. A region has multiple projects, but one project is related to one region. DIS streams in different projects cannot communicate with each other.</li><li id="dis_01_0001__li2367344406">Checkpoint: When an application consumes data, the latest serial number of the consumed data is recorded as a checkpoint. When the data is re-consumed, the consumption can be continued based on this checkpoint.</li><li id="dis_01_0001__li6731144794017">Application: When multiple applications consume data in the same stream, an APP is used as an identifier to distinguish consumption checkpoints of different applications.</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
@ -9,7 +9,7 @@
|
||||
</li><li id="dis_01_0003__li27416314">User SDK<ul id="dis_01_0003__ul45420240"><li id="dis_01_0003__li6128980">Provides Java APIs for users to push and pull data.</li><li id="dis_01_0003__li55160823">Encrypts data.</li></ul>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0003__section24807479"><h4 class="sectiontitle">Key Capabilities</h4><ul id="dis_01_0003__ul57557412"><li id="dis_01_0003__li31638772">Scalable: A DIS stream can seamlessly scale its data throughput from megabytes to terabytes per hour, and from thousands to millions of PUT records per second.</li><li id="dis_01_0003__li16313497">Easy to use: You can create a DIS stream within seconds. It is easy to put data into a stream, and build a data processing application.</li><li id="dis_01_0003__li12603749">Low cost: DIS has no upfront cost and you only pay for the resources you use.</li><li id="dis_01_0003__li46324881">Parallel processing: DIS allows you to have multiple DIS applications processing the same stream concurrently. For example, you can have one application running real-time analytics and another sending data to OBS from the same stream.</li><li id="dis_01_0003__li14270750">Secure and reliable: DIS can retain data for 24 to 72 hours to prevent data loss in case of application faults, individual machine faults, or facility faults.</li></ul>
|
||||
<div class="section" id="dis_01_0003__section24807479"><h4 class="sectiontitle">Key Capabilities</h4><ul id="dis_01_0003__ul57557412"><li id="dis_01_0003__li31638772">Scalable: A DIS stream can seamlessly scale its data throughput from megabytes to terabytes per hour, and from thousands to millions of PUT records per second.</li><li id="dis_01_0003__li16313497">Easy to use: You can create a DIS stream within seconds. It is easy to put data into a stream, and build a data processing application.</li><li id="dis_01_0003__li12603749">Low cost: DIS has no upfront cost and you only pay for the resources you use.</li><li id="dis_01_0003__li8221152253120">Parallel processing: DIS allows you to have multiple DIS applications processing the same stream concurrently.</li><li id="dis_01_0003__li46324881">Secure and reliable: DIS can retain data for 24 to 72 hours to prevent data loss in case of application faults, individual machine faults, or facility faults.</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Related Services</h1>
|
||||
<div id="body1493022272989"><div class="p" id="dis_01_0004__p31381273152228">DIS works with the following services:<ul id="dis_01_0004__ul454488889439"><li id="dis_01_0004__li475696069439">Object Storage Service (OBS)<p id="dis_01_0004__p77011192850"><a name="dis_01_0004__li475696069439"></a><a name="li475696069439"></a>If you set <strong id="dis_01_0004__b7226484115">Dump Destination</strong> to OBS, the uploaded data will be stored to OBS.</p>
|
||||
</li><li id="dis_01_0004__li603932459439">Identity and Access Management (IAM)<p id="dis_01_0004__p66682949439"><a name="dis_01_0004__li603932459439"></a><a name="li603932459439"></a>IAM provides user authentication for DIS.</p>
|
||||
</li><li id="dis_01_0004__li15731237191812">Cloud Trace Service (CTS)<p id="dis_01_0004__p20127162771812"><a name="dis_01_0004__li15731237191812"></a><a name="li15731237191812"></a>CTS is used to record the operations you have performed on DIS for later querying, auditing, or backtracking. For details, see the <em id="dis_01_0004__i842352697174855">Cloud Trace Service User Guide</em>.</p>
|
||||
</li><li id="dis_01_0004__li15731237191812">Cloud Trace Service (CTS)<p id="dis_01_0004__p20127162771812"><a name="dis_01_0004__li15731237191812"></a><a name="li15731237191812"></a>CTS is used to record the operations you have performed on DIS for later querying, auditing, or backtracking. For details, see the <em id="dis_01_0004__i20833121097">Cloud Trace Service User Guide</em>.</p>
|
||||
</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<a name="dis_01_0005"></a><a name="dis_01_0005"></a>
|
||||
|
||||
<h1 class="topictitle1">Permissions</h1>
|
||||
<div id="body1493022272990"><p id="dis_01_0005__p11319170191220">You need an account on the management console to create, query, and delete DIS streams, and need an Access Key ID/Secret Access Key (AK/SK) file to push, pull, and dump data.</p>
|
||||
<div id="body1493022272990"><p id="dis_01_0005__p11319170191220">You need an account on the management console to create, query, and delete DIS streams, and you need an Access Key ID/Secret Access Key (AK/SK) file to push, pull, and dump data.</p>
|
||||
<p id="dis_01_0005__p5437657151527">For details about how to perform operations on IAM, see <i><cite id="dis_01_0005__cite360058896154332">IAM User Guide</cite></i>.</p>
|
||||
<div class="p" id="dis_01_0005__p1671980692955">For details about DIS permissions, see <a href="#dis_01_0005__table55585464113541">Table 1</a> and <a href="https://docs.otc.t-systems.com/en-us/permissions/index.html" target="_blank" rel="noopener noreferrer">Permissions</a>.
|
||||
<div class="tablenoborder"><a name="dis_01_0005__table55585464113541"></a><a name="table55585464113541"></a><table cellpadding="4" cellspacing="0" summary="" id="dis_01_0005__table55585464113541" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Permission list</caption><thead align="left"><tr id="dis_01_0005__row45371081113541"><th align="left" class="cellrowborder" valign="top" width="13.048695130486951%" id="mcps1.3.3.3.2.6.1.1"><p id="dis_01_0005__p13899358113555">Node Name</p>
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
<h1 class="topictitle1">Listing DIS Streams</h1>
|
||||
<div id="body1493022272990"><p id="dis_01_0011__p46736664121012">The <strong id="dis_01_0011__b2068322215377">Stream Management</strong> page displays all DIS streams created. After clicking a stream, you can view the following information about this stream:</p>
|
||||
<div class="fignone" id="dis_01_0011__fig1657418112911"><span class="figcap"><b>Figure 1 </b>Stream Management</span><br><span><img id="dis_01_0011__image457412110916" src="en-us_image_0000001222097286.jpg"></span></div>
|
||||
<div class="fignone" id="dis_01_0011__fig1657418112911"><span class="figcap"><b>Figure 1 </b>Stream Management</span><br><span><img id="dis_01_0011__image97294991710" src="en-us_image_0000001403086902.gif"></span></div>
|
||||
<ul id="dis_01_0011__ul31495006113939"><li id="dis_01_0011__lf419419f6a094720981fd7e28332154e"><strong id="dis_01_0011__b7522958141418">Name/ID</strong>: Unique name of the DIS stream to be created. A stream name is 1 to 64 characters long. Only letters, digits, hyphens (-), and underscores (_) are allowed.</li><li id="dis_01_0011__li60941563175422"><strong id="dis_01_0011__b27460177153911">Status</strong>: Stream status.</li><li id="dis_01_0011__li6614401195218"><strong id="dis_01_0011__b59292158153920">Stream Type</strong>: <strong id="dis_01_0011__b37935460153920">Common</strong> and <strong id="dis_01_0011__b52873419153920">Advanced</strong>.<ul id="dis_01_0011__u2b3f8278e59e49da94989a4c963e9a13"><li id="dis_01_0011__lafdd26e566fe4d7fb0ab1db0bdbcbebc"><strong id="dis_01_0011__b1988943501820">Common</strong>: Each partition supports a maximum read speed of 2 MB/s and a maximum write speed of 1 MB/s or 1,000 records/s.</li><li id="dis_01_0011__l9df050c26351412ba117351b3761c052"><strong id="dis_01_0011__b5734961911">Advanced</strong>: Each partition supports a maximum read speed of 10 MB/s and a maximum write speed of 5 MB/s or 2,000 records/s.</li></ul>
|
||||
</li><li id="dis_01_0011__li2737457515395"><strong id="dis_01_0011__b1488461672311">Partitions</strong>: The number of partitions into which data records in the newly created DIS stream will be distributed. Multiple partitions of a stream can concurrently transmit data to improve efficiency.</li><li id="dis_01_0011__li4148713110517"><strong id="dis_01_0011__b18144118142818">Data Retention (hours)</strong>: The maximum number of hours for DIS to preserve data. Data will be deleted when the retention period expires. Value range: an integer ranging from 24 to 72. Unit: hour</li><li id="dis_01_0011__li33906238175544"><strong id="dis_01_0011__b62919478154123">Created</strong>: Time at which the DIS stream is created. The creation time is in the <em id="dis_01_0011__i10988722174412">yyyy/MM/dd HH:mm:ss</em> <strong id="dis_01_0011__b3207112814442">GMT</strong> format. For example, 2017/05/09 08:00:00 GMT+08:00.</li><li id="dis_01_0011__li65182377175740"><strong id="dis_01_0011__b125444211658">Operation</strong>: Supported operations include <strong id="dis_01_0011__b176104012479">Delete</strong>, and <strong id="dis_01_0011__b31815119500">View Dump Task</strong>. </li></ul>
|
||||
</li><li id="dis_01_0011__li2737457515395"><strong id="dis_01_0011__b1488461672311">Partitions</strong>: The number of partitions into which data records in the newly created DIS stream will be distributed. Multiple partitions of a stream can concurrently transmit data to improve efficiency.</li><li id="dis_01_0011__li4148713110517"><strong id="dis_01_0011__b18144118142818">Data Retention (hours)</strong>: The maximum number of hours for DIS to preserve data. Data will be deleted when the retention period expires. Value range: an integer ranging from 24 to 72. Unit: hour</li><li id="dis_01_0011__li33906238175544"><strong id="dis_01_0011__b62919478154123">Created</strong>: Time at which the DIS stream is created. The creation time is in the <em id="dis_01_0011__i10988722174412">yyyy/MM/dd HH:mm:ss</em> <strong id="dis_01_0011__b3207112814442">GMT</strong> format. For example, 2017/05/09 08:00:00 GMT+08:00.</li><li id="dis_01_0011__li65182377175740"><strong id="dis_01_0011__b125444211658">Operation</strong>: Supported operations include <strong id="dis_01_0011__b176104012479">Delete</strong>, and <strong id="dis_01_0011__b31815119500">View Dump Task</strong>.</li></ul>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
<h1 class="topictitle1">Viewing Stream Monitoring Metrics</h1>
|
||||
<div id="body1493022272990"><p id="dis_01_0012__p465711711267">You can view stream monitoring information on the console and monitor the data consumed by applications in the stream.</p>
|
||||
<ol id="dis_01_0012__ol12431334121516"><li id="dis_01_0012__li15698020121516"><span>Use the account to log in to the DIS console.</span></li><li id="dis_01_0012__li820627292052"><span>Click <span><img id="dis_01_0012__image01970275396" src="en-us_image_0000001266777397.png"></span> in the upper left corner and select a region and a project.</span></li><li id="dis_01_0012__li15493172951416"><span>In the navigation tree on the left, choose <span class="parmvalue" id="dis_01_0012__parmvalue68691459184519"><b>Stream Management</b></span>.</span></li><li id="dis_01_0012__li3041782121655"><span>In the stream list, click the name of the DIS stream whose monitoring metrics will be viewed. The monitoring page is displayed.</span><p><div class="fignone" id="dis_01_0012__fig20331141119419"><span class="figcap"><b>Figure 1 </b>Monitoring page</span><br><span><img id="dis_01_0012__image23311111124117" src="en-us_image_0000001266897429.jpg"></span></div>
|
||||
</p></li><li id="dis_01_0012__li41810086164916"><span>On the <span class="wintitle" id="dis_01_0012__wintitle17741204819219"><b>Monitoring</b></span> page, click the <strong id="dis_01_0012__b311911732212">Streams</strong> or <strong id="dis_01_0012__b830213092218">Partitions</strong> tab to view stream or partition monitoring metrics. <a href="#dis_01_0012__table2942144318834">Table 1</a> describes the monitoring parameters. For details about basic stream information, see <a href="dis_01_0601.html#dis_01_0601__li23032735111458">3</a>.</span><p>
|
||||
<ol id="dis_01_0012__ol12431334121516"><li id="dis_01_0012__li15698020121516"><span>Use the account to log in to the DIS console.</span></li><li id="dis_01_0012__li820627292052"><span>Click <span><img id="dis_01_0012__image01970275396" src="en-us_image_0120206196.png"></span> in the upper left corner and select a region and a project.</span></li><li id="dis_01_0012__li15493172951416"><span>In the navigation tree on the left, choose <span class="parmvalue" id="dis_01_0012__parmvalue68691459184519"><b>Stream Management</b></span>.</span></li><li id="dis_01_0012__li3041782121655"><span>In the stream list, click the name of the DIS stream whose monitoring metrics you want to view.</span><p><div class="fignone" id="dis_01_0012__fig20331141119419"><span class="figcap"><b>Figure 1 </b>Monitoring page</span><br><span><img id="dis_01_0012__image1066412017203" src="en-us_image_0000001453327325.gif"></span></div>
|
||||
</p></li><li id="dis_01_0012__li41810086164916"><span>On the <span class="wintitle" id="dis_01_0012__wintitle17741204819219"><b>Monitoring</b></span> page, click the <strong id="dis_01_0012__b311911732212">Streams</strong> or <strong id="dis_01_0012__b830213092218">Partitions</strong> tab to view stream or partition monitoring metrics. <a href="#dis_01_0012__table2942144318834">Table 1</a> describes the monitoring parameters. For details about basic stream information, see <a href="dis_01_0601.html#dis_01_0601__table1518745742610">Table 1</a>.</span><p>
|
||||
<div class="tablenoborder"><a name="dis_01_0012__table2942144318834"></a><a name="table2942144318834"></a><table cellpadding="4" cellspacing="0" summary="" id="dis_01_0012__table2942144318834" frame="border" border="1" rules="all"><caption><b>Table 1 </b>DIS monitoring information</caption><thead align="left"><tr id="dis_01_0012__row6686704018834"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.2.5.2.1.2.3.1.1"><p id="dis_01_0012__p4752119818834">Parameter</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.2.5.2.1.2.3.1.2"><p id="dis_01_0012__p2401184018834">Description</p>
|
||||
@ -13,7 +13,7 @@
|
||||
<tbody><tr id="dis_01_0012__row5291185918834"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.5.2.1.2.3.1.1 "><p id="dis_01_0012__p5800220418834">Time Range</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.5.2.1.2.3.1.2 "><ul id="dis_01_0012__ul210231152417"><li id="dis_01_0012__li1101031122413">Monitoring time range.<p id="dis_01_0012__p502247718834"><a name="dis_01_0012__li1101031122413"></a><a name="li1101031122413"></a>Values:</p>
|
||||
<ul id="dis_01_0012__ul4520229418834"><li id="dis_01_0012__li416746518834">1h</li><li id="dis_01_0012__li3750719218834">2h</li><li id="dis_01_0012__li202041018834">3h</li></ul>
|
||||
<ul id="dis_01_0012__ul4520229418834"><li id="dis_01_0012__li416746518834">1h</li><li id="dis_01_0012__li3750719218834">3h</li><li id="dis_01_0012__li202041018834">12h</li></ul>
|
||||
</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -3,8 +3,8 @@
|
||||
<h1 class="topictitle1">Deleting a Stream</h1>
|
||||
<div id="body1493022272990"><div class="note" id="dis_01_0013__note1891164345819"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dis_01_0013__p1893674685816">A deleted stream will not be charged and cannot be restored. Exercise caution when performing this operation.</p>
|
||||
</div></div>
|
||||
<ol id="dis_01_0013__ol12431334121516"><li id="dis_01_0013__li11931210353"><span>Use the account to log in to the DIS console.</span></li><li id="dis_01_0013__li5720339992121"><span>Click <span><img id="dis_01_0013__image11686217981" src="en-us_image_0000001266777397.png"></span> in the upper left corner of the page and select a region and project.</span></li><li id="dis_01_0013__li17808203718103"><span>In the navigation tree on the left, choose <span class="parmvalue" id="dis_01_0013__parmvalue12880911195711"><b>Stream Management</b></span>.</span><p><div class="fignone" id="dis_01_0013__fig175341921174517"><span class="figcap"><b>Figure 1 </b>Managing DIS streams</span><br><span><img id="dis_01_0013__image14534162115457" src="en-us_image_0000001222417238.jpg"></span></div>
|
||||
</p></li><li id="dis_01_0013__li3041782121655"><span>Click <strong id="dis_01_0013__b67061953152815">Delete</strong> in the <strong id="dis_01_0013__b1523515414299">Operation</strong> column of the stream that you want to delete. The <span class="wintitle" id="dis_01_0013__wintitle137401525153110"><b>Delete Stream</b></span> dialog box is displayed.</span><p><div class="fignone" id="dis_01_0013__fig9378152944611"><span class="figcap"><b>Figure 2 </b>Deleting a stream</span><br><span><img id="dis_01_0013__image147171011143810" src="en-us_image_0000001222257278.jpg"></span></div>
|
||||
<ol id="dis_01_0013__ol12431334121516"><li id="dis_01_0013__li11931210353"><span>Use the account to log in to the DIS console.</span></li><li id="dis_01_0013__li5720339992121"><span>Click <span><img id="dis_01_0013__image11686217981" src="en-us_image_0120206196.png"></span> in the upper left corner of the page and select a region and project.</span></li><li id="dis_01_0013__li17808203718103"><span>In the navigation tree on the left, choose <span class="parmvalue" id="dis_01_0013__parmvalue12880911195711"><b>Stream Management</b></span>.</span><p><div class="fignone" id="dis_01_0013__fig175341921174517"><span class="figcap"><b>Figure 1 </b>Managing DIS streams</span><br><span><img id="dis_01_0013__image1534336182420" src="en-us_image_0000001402769822.gif"></span></div>
|
||||
</p></li><li id="dis_01_0013__li3041782121655"><span>Click <strong id="dis_01_0013__b67061953152815">Delete</strong> in the <strong id="dis_01_0013__b1523515414299">Operation</strong> column of the stream that you want to delete. The <span class="wintitle" id="dis_01_0013__wintitle137401525153110"><b>Delete Stream</b></span> dialog box is displayed.</span><p><div class="fignone" id="dis_01_0013__fig9378152944611"><span class="figcap"><b>Figure 2 </b>Deleting a stream</span><br><span><img id="dis_01_0013__image97971818122519" src="en-us_image_0000001453010069.gif"></span></div>
|
||||
</p></li><li id="dis_01_0013__li14467764121924"><span>Click <span class="uicontrol" id="dis_01_0013__uicontrol59221846133114"><b>OK</b></span> to delete the selected stream.</span></li></ol>
|
||||
</div>
|
||||
<div>
|
||||
|
@ -8,18 +8,16 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="dis_01_0014__row631535004212"><td class="cellrowborder" valign="top" width="36.480000000000004%" headers="mcps1.3.1.1.3.1.1 "><p id="dis_01_0014__p8315155015424">2022-06-15</p>
|
||||
<tbody><tr id="dis_01_0014__row15370151119340"><td class="cellrowborder" valign="top" width="36.480000000000004%" headers="mcps1.3.1.1.3.1.1 "><p id="dis_01_0014__p837121117341">2023-03-30</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="63.519999999999996%" headers="mcps1.3.1.1.3.1.2 "><p id="dis_01_0014__p69161328134711">Modified the following section:</p>
|
||||
<p id="dis_01_0014__p64141230134717"><a href="dis_01_0001.html">What Is DIS?</a></p>
|
||||
<p id="dis_01_0014__p1340182075717">Added the following sections:</p>
|
||||
<p id="dis_01_0014__p8581839105111"><a href="dis_01_0222.html">CDR Specification</a></p>
|
||||
<td class="cellrowborder" valign="top" width="63.519999999999996%" headers="mcps1.3.1.1.3.1.2 "><p id="dis_01_0014__p8371131116347">Modified the following sections:</p>
|
||||
<ul id="dis_01_0014__ul41579258367"><li id="dis_01_0014__li17158525103610"><a href="dis_01_0009.html">General Procedure</a></li><li id="dis_01_0014__li121581125133610"><a href="dis_01_0601.html">Step 1: Creating a DIS Stream</a></li><li id="dis_01_0014__li141581225183620"><a href="dis_01_0012.html">Viewing Stream Monitoring Metrics</a></li><li id="dis_01_0014__li315872510364"><a href="dis_06_0013.html">Configuring Sample Projects</a></li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0014__row1642194724215"><td class="cellrowborder" valign="top" width="36.480000000000004%" headers="mcps1.3.1.1.3.1.1 "><p id="dis_01_0014__p1242215476427">2020-01-03</p>
|
||||
<tr id="dis_01_0014__row164582044132411"><td class="cellrowborder" valign="top" width="36.480000000000004%" headers="mcps1.3.1.1.3.1.1 "><p id="dis_01_0014__p1345812443243">2022-09-30</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="63.519999999999996%" headers="mcps1.3.1.1.3.1.2 "><p id="dis_01_0014__p13249122614717">Modified the following section:</p>
|
||||
<p id="dis_01_0014__p042214711427"><a href="dis_01_0012.html">Viewing Stream Monitoring Metrics</a></p>
|
||||
<td class="cellrowborder" valign="top" width="63.519999999999996%" headers="mcps1.3.1.1.3.1.2 "><p id="dis_01_0014__p164591744142418">Removed the following section:</p>
|
||||
<p id="dis_01_0014__p159682022172113">CDR Specification</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0014__row1944985841711"><td class="cellrowborder" valign="top" width="36.480000000000004%" headers="mcps1.3.1.1.3.1.1 "><p id="dis_01_0014__p144501558101718">2019-06-12</p>
|
||||
@ -54,4 +52,5 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div></div>
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
<a name="dis_01_0043"></a><a name="dis_01_0043"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining Authentication Information</h1>
|
||||
<div id="body1510226874205"><div class="section" id="dis_01_0043__section216794169119"><h4 class="sectiontitle">Obtaining AK/SK</h4><p id="dis_01_0043__p1588473591117">Access Key ID/Secret Access Key (AK/SK) is created on Identity and Access Management (IAM) to authenticate calls to application programming interfaces (APIs) on the public cloud. To obtain AK/SK, choose <span class="menucascade" id="dis_01_0043__menucascade563544363218"><b><span class="uicontrol" id="dis_01_0043__uicontrol4635114319324">My Credential</span></b> > <b><span class="uicontrol" id="dis_01_0043__uicontrol483641219499">Access Keys</span></b></span>.</p>
|
||||
<div id="body1510226874205"><div class="section" id="dis_01_0043__section216794169119"><h4 class="sectiontitle">Obtaining AK/SK</h4><p id="dis_01_0043__p1588473591117">Access Key ID/Secret Access Key (AK/SK) is created on Identity and Access Management (IAM) to authenticate calls to application programming interfaces (APIs) on the public cloud. To obtain an AK/SK pair, choose <span class="menucascade" id="dis_01_0043__menucascade7888466369"><b><span class="uicontrol" id="dis_01_0043__uicontrol20881463364">My Credentials</span></b> > <b><span class="uicontrol" id="dis_01_0043__uicontrol14886465360">Access Keys</span></b></span>.</p>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0043__section41152976192830"><h4 class="sectiontitle">Obtaining Project ID</h4><p id="dis_01_0043__en-us_topic_0080205343_p491327619141">A project is a group of tenant resources. To view the project IDs of different regions, choose <span class="menucascade" id="dis_01_0043__menucascade182341323319"><b><span class="uicontrol" id="dis_01_0043__uicontrol52311353319">My Credential</span></b> > <b><span class="uicontrol" id="dis_01_0043__uicontrol18433421135012">Projects</span></b></span>.</p>
|
||||
<div class="section" id="dis_01_0043__section41152976192830"><h4 class="sectiontitle">Obtaining Project ID</h4><p id="dis_01_0043__en-us_topic_0080205343_p491327619141">A project is a group of tenant resources. To view the project IDs of different regions, choose <span class="menucascade" id="dis_01_0043__menucascade182341323319"><b><span class="uicontrol" id="dis_01_0043__uicontrol52311353319">My Credentials</span></b> > <b><span class="uicontrol" id="dis_01_0043__uicontrol3446195384615">API Credentials</span></b></span>.</p>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0043__section13974512192848"><h4 class="sectiontitle">Obtaining Region Information and Endpoint Information</h4><p id="dis_01_0043__a0e4a70a0b3304e37bb510a69a7316193">For details about regions and endpoints, see <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
|
||||
</div>
|
||||
|
@ -5,7 +5,7 @@
|
||||
</div>
|
||||
<div class="section" id="dis_01_0045__section44362682195133"><h4 class="sectiontitle">Prerequisites</h4><p id="dis_01_0045__p62570614195753">An IAM agency has been created by following the procedure in <a href="dis_01_0605.html">Creating an IAM Agency</a>. This IAM agency entrusts DIS to access your OBS resources.</p>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0045__section15729224195053"><h4 class="sectiontitle">Data Dumping</h4><p id="dis_01_0045__p1208054610731">In section <a href="dis_01_0047.html">Creating a Dump Task</a>, you can select a location to which data from DIS streams will be dumped. If Dump Destination is set to <strong id="dis_01_0045__b2701716145632">OBS</strong>, DIS periodically imports data from DIS streams to OBS.</p>
|
||||
<div class="section" id="dis_01_0045__section15729224195053"><h4 class="sectiontitle">Data Dumping</h4><p id="dis_01_0045__p1208054610731">You can set <strong id="dis_01_0045__b175052719475">Dump Bucket</strong> when <a href="dis_01_0047.html">Creating a Dump Task</a>. If Dump Destination is set to <strong id="dis_01_0045__b2701716145632">OBS</strong>, DIS periodically imports data from DIS streams to OBS.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Creating a Dump Task</h1>
|
||||
<div id="body1521102673800"><p id="dis_01_0047__p994074811341">If a dump task is created for a DIS stream, data sent to the DIS stream can be automatically dumped to the selected target specified in the dump task.</p>
|
||||
<ol id="dis_01_0047__ol571372551716"><li id="dis_01_0047__li58251435923"><span>Use the account to log in to the DIS console.</span></li><li id="dis_01_0047__li820627292052"><span>Click <span><img id="dis_01_0047__image198321541346" src="en-us_image_0000001222577290.png"></span> in the upper left corner of the page and select a region and project.</span></li><li id="dis_01_0047__li33202991121523"><span>In the navigation tree on the left, choose Stream Management.</span></li><li id="dis_01_0047__li3041782121655"><span>Click the name of a stream that you want to view. On the displayed page, click the <span class="wintitle" id="dis_01_0047__wintitle9366220151718"><b>Dump Management</b></span> tab. </span></li><li id="dis_01_0047__li168514053111"><span>Click <span class="uicontrol" id="dis_01_0047__uicontrol149371614152019"><b>Add Dump Task</b></span>. On the <span class="wintitle" id="dis_01_0047__wintitle845480213162820"><b>Add Dump Task</b></span> page, configure dump parameters. Dump task parameters are described in <a href="#dis_01_0047__table1544912219359">Table 1</a>.</span><p><div class="note" id="dis_01_0047__note126879341375"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dis_01_0047__p1039021720105">A maximum of five dump tasks can be created for each stream.</p>
|
||||
<ol id="dis_01_0047__ol571372551716"><li id="dis_01_0047__li58251435923"><span>Use the account to log in to the DIS console.</span></li><li id="dis_01_0047__li820627292052"><span>Click <span><img id="dis_01_0047__image198321541346" src="en-us_image_0238223179.png"></span> in the upper left corner of the page and select a region and project.</span></li><li id="dis_01_0047__li33202991121523"><span>In the left navigation pane, choose Stream Management.</span></li><li id="dis_01_0047__li3041782121655"><span>Click the name of a stream that you want to view. On the displayed page, click the <span class="wintitle" id="dis_01_0047__wintitle9366220151718"><b>Dump Management</b></span> tab. </span></li><li id="dis_01_0047__li168514053111"><span>Click <span class="uicontrol" id="dis_01_0047__uicontrol149371614152019"><b>Add Dump Task</b></span>. On the <span class="wintitle" id="dis_01_0047__wintitle845480213162820"><b>Add Dump Task</b></span> page, configure dump parameters. For details about the dump task parameters, see <a href="#dis_01_0047__table1544912219359">Table 1</a>.</span><p><div class="note" id="dis_01_0047__note126879341375"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dis_01_0047__p1039021720105">A maximum of five dump tasks can be created for each stream.</p>
|
||||
</div></div>
|
||||
</p></li><li id="dis_01_0047__li108916414105"><span>Click <span class="uicontrol" id="dis_01_0047__uicontrol634171455162839"><b>Create Now</b></span>.</span></li><li id="dis_01_0047__li95741915183512"><span>In the <strong id="dis_01_0047__b5438520291621">Operation</strong> column of the corresponding <strong id="dis_01_0047__b4312522691621">Task Name</strong>, click <span class="menucascade" id="dis_01_0047__menucascade1363850791621"><b><span class="uicontrol" id="dis_01_0047__uicontrol348239491621">More</span></b> > <b><span class="uicontrol" id="dis_01_0047__uicontrol3134155191621">View Dump Log</span></b></span> to view the dump task details of the stream. <a href="#dis_01_0047__table104664221353">Table 2</a> describes the dump log parameters.</span><p>
|
||||
<div class="tablenoborder"><a name="dis_01_0047__table1544912219359"></a><a name="table1544912219359"></a><table cellpadding="4" cellspacing="0" summary="" id="dis_01_0047__table1544912219359" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Dump task parameters</caption><thead align="left"><tr id="dis_01_0047__row1837162220354"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.2.7.2.1.2.4.1.1"><p id="dis_01_0047__p11371192223514">Parameter</p>
|
||||
@ -31,11 +31,11 @@
|
||||
<td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.7.2.1.2.4.1.3 "><p id="dis_01_0047__p9371522113518">-</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0047__row3218142214216"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.7.2.1.2.4.1.1 "><p id="dis_01_0047__p17910231026">Dump File Format</p>
|
||||
<tr id="dis_01_0047__row191594995712"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.7.2.1.2.4.1.1 "><p id="dis_01_0047__p943031614574">Dump File Format</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.7.2.1.2.4.1.2 "><p id="dis_01_0047__p611810333216">Text</p>
|
||||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.7.2.1.2.4.1.2 "><p id="dis_01_0047__p12239162214578">Text</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.7.2.1.2.4.1.3 "><p id="dis_01_0047__p127914233214">The <span class="parmvalue" id="dis_01_0047__parmvalue810117221838"><b>Text</b></span> format can be selected only when <span class="parmname" id="dis_01_0047__parmname187912023623"><b>Source Data Type</b></span> is <span class="parmvalue" id="dis_01_0047__parmvalue10791423722"><b>OBS</b></span>.</p>
|
||||
<td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.7.2.1.2.4.1.3 "><p id="dis_01_0047__p10997154014585">Only text data can be dumped to OBS.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0047__row5371102263510"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.7.2.1.2.4.1.1 "><p id="dis_01_0047__p737111223354">Dump Bucket</p>
|
||||
@ -142,7 +142,7 @@
|
||||
</div>
|
||||
</p></li></ol>
|
||||
<div class="section" id="dis_01_0047__section11674458115116"><h4 class="sectiontitle">Modifying and Enabling Dump Tasks</h4><p id="dis_01_0047__p35132115312">After creating a stream and adding a dump task successfully, you can modify the attributes of the created stream.</p>
|
||||
<ol id="dis_01_0047__ol197130112716"><li id="dis_01_0047__li1358314319273"><span>Log in to the DIS console.</span></li><li id="dis_01_0047__li12596134392717"><span>Click <span><img id="dis_01_0047__image370614018511" src="en-us_image_0000001222577290.png"></span> in the upper left corner of the page and select a region and project.</span></li><li id="dis_01_0047__li126072043102720"><span>In the navigation tree, choose <strong id="dis_01_0047__b395995768">Stream Management</strong>.</span></li><li id="dis_01_0047__li146111243172710"><span>Click the name of a stream that you want to view. On the displayed page, click the <span class="wintitle" id="dis_01_0047__wintitle193813586374"><b>Dump Management</b></span> tab. Alternatively, in the <strong id="dis_01_0047__b14124123815211">Operation</strong> column of a stream that you want to view, click <span class="wintitle" id="dis_01_0047__wintitle412418381924"><b>More</b></span> and choose <strong id="dis_01_0047__b1125163818218">View Dump Task</strong> from the drop-down list.</span></li><li id="dis_01_0047__li825368132218"><span>In the <strong id="dis_01_0047__b1145316237449">Operation</strong> column of the stream for which a dump task has been added, perform the following operations:</span><p><ol type="a" id="dis_01_0047__ol2092521242215"><li id="dis_01_0047__li185747952917">Choose <span class="menucascade" id="dis_01_0047__menucascade1161710972914"><b><span class="uicontrol" id="dis_01_0047__uicontrol36195932912">More > Modify</span></b></span> to modify the dump task.</li><li id="dis_01_0047__li141351959102318">Choose <span class="menucascade" id="dis_01_0047__menucascade81351159112318"><b><span class="uicontrol" id="dis_01_0047__uicontrol1213565912320">More > Start</span></b></span> to start the dump task.</li><li id="dis_01_0047__li283118015240">Choose <span class="menucascade" id="dis_01_0047__menucascade28310032411"><b><span class="uicontrol" id="dis_01_0047__uicontrol13831805249">More > Pause</span></b></span> to pause the dump task.</li></ol>
|
||||
<ol id="dis_01_0047__ol197130112716"><li id="dis_01_0047__li1358314319273"><span>Log in to the DIS console.</span></li><li id="dis_01_0047__li12596134392717"><span>Click <span><img id="dis_01_0047__image370614018511" src="en-us_image_0238223179.png"></span> in the upper left corner of the page and select a region and project.</span></li><li id="dis_01_0047__li126072043102720"><span>In the navigation tree, choose <strong id="dis_01_0047__b395995768">Stream Management</strong>.</span></li><li id="dis_01_0047__li146111243172710"><span>Click the name of a stream that you want to view. On the displayed page, click the <span class="wintitle" id="dis_01_0047__wintitle193813586374"><b>Dump Management</b></span> tab. Alternatively, in the <strong id="dis_01_0047__b14124123815211">Operation</strong> column of a stream that you want to view, click <span class="wintitle" id="dis_01_0047__wintitle412418381924"><b>More</b></span> and choose <strong id="dis_01_0047__b1125163818218">View Dump Task</strong> from the drop-down list.</span></li><li id="dis_01_0047__li825368132218"><span>In the <strong id="dis_01_0047__b1145316237449">Operation</strong> column of the stream for which a dump task has been added, perform the following operations:</span><p><ol type="a" id="dis_01_0047__ol2092521242215"><li id="dis_01_0047__li185747952917">Choose <span class="menucascade" id="dis_01_0047__menucascade1161710972914"><b><span class="uicontrol" id="dis_01_0047__uicontrol36195932912">More > Modify</span></b></span> to modify the dump task.</li><li id="dis_01_0047__li141351959102318">Choose <span class="menucascade" id="dis_01_0047__menucascade81351159112318"><b><span class="uicontrol" id="dis_01_0047__uicontrol1213565912320">More > Start</span></b></span> to start the dump task.</li><li id="dis_01_0047__li283118015240">Choose <span class="menucascade" id="dis_01_0047__menucascade28310032411"><b><span class="uicontrol" id="dis_01_0047__uicontrol13831805249">More > Pause</span></b></span> to pause the dump task.</li></ol>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -16,17 +16,16 @@
|
||||
<tbody><tr id="dis_01_0050__en-us_topic_0110219762_row93171449162013"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.4.1.1 "><p id="dis_01_0050__en-us_topic_0110219762_p931774942019">Key</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.4.1.2 "><p id="dis_01_0050__en-us_topic_0110219762_p5771249122112">A tag key cannot be left blank.</p>
|
||||
<p id="dis_01_0050__en-us_topic_0110219762_p26351751142112">A tag key must be unique for a stream.</p>
|
||||
<p id="dis_01_0050__en-us_topic_0110219762_p93113330223">A tag key contains a maximum of 36 characters.</p>
|
||||
<p id="dis_01_0050__p1225516520470">A tag value cannot contain special characters =*<>\,|/ or start or end with a space.</p>
|
||||
<p id="dis_01_0050__en-us_topic_0110219762_p26351751142112">A stream can have only one tag key.</p>
|
||||
<p id="dis_01_0050__en-us_topic_0110219762_p93113330223">You can enter a maximum of 36 characters for <strong id="dis_01_0050__b0234921461">Key</strong>. The value of <strong id="dis_01_0050__b1523402867">Key</strong> cannot start or end with a space and cannot contain any of the following characters: is equal to (=), asterisk (*), is less than (<), is greater than (>), backslash (\), comma (,), delimiter (|), and slash (/).</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.4.1.3 "><p id="dis_01_0050__en-us_topic_0110219762_p2317144913209">Organization</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0050__en-us_topic_0110219762_row193176495203"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.4.1.1 "><p id="dis_01_0050__en-us_topic_0110219762_p931714916209">Tag value</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.4.1.2 "><p id="dis_01_0050__en-us_topic_0110219762_p14986938142211">A tag value contains a maximum of 43 characters.</p>
|
||||
<p id="dis_01_0050__p1111264194711">A tag value cannot contain special characters =*<>\,|/ or start or end with a space. This parameter can be left blank.</p>
|
||||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.4.1.2 "><p id="dis_01_0050__p182501051184314">The value can be null.</p>
|
||||
<p id="dis_01_0050__en-us_topic_0110219762_p14986938142211">You can enter a maximum of 43 characters for <strong id="dis_01_0050__b48248918612">Key</strong>. The value of <strong id="dis_01_0050__b9824179264">Key</strong> cannot start or end with a space and cannot contain any of the following characters: is equal to (=), asterisk (*), is less than (<), is greater than (>), backslash (\), comma (,), delimiter (|), and slash (/).</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.4.1.3 "><p id="dis_01_0050__en-us_topic_0110219762_p431704919201">Apache</p>
|
||||
</td>
|
||||
@ -34,23 +33,23 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0050__section93865701015"><h4 class="sectiontitle">Adding a Tag to a Stream</h4><div class="p" id="dis_01_0050__p14599152581020">You can add a tag to a stream on the <strong id="dis_01_0050__b1028620819307">Buy Stream</strong> page.<ol id="dis_01_0050__en-us_topic_0110219762_ol10572152813122"><li id="dis_01_0050__en-us_topic_0110219762_li3572428141214">Log in to the management console.</li><li id="dis_01_0050__en-us_topic_0110219762_li17582182216126">Choose <strong id="dis_01_0050__b1268673193012">Enterprise Intelligence</strong> > <strong id="dis_01_0050__b12848233153012">Data Ingestion Service</strong>.</li><li id="dis_01_0050__en-us_topic_0110219762_li166733366125">On the DIS management console, click <span class="uicontrol" id="dis_01_0050__en-us_topic_0110219762_uicontrol52521849192511"><b>Buy Stream</b></span>.</li><li id="dis_01_0050__en-us_topic_0110219762_li166145220256">On the <strong id="dis_01_0050__b842352706153759">Advanced Settings</strong> tab page, select <strong id="dis_01_0050__b84235270615381">Configure</strong>.<p id="dis_01_0050__en-us_topic_0110219762_p1725317418302">Enter the key and value of a tag to be added.</p>
|
||||
<div class="section" id="dis_01_0050__section93865701015"><h4 class="sectiontitle">Adding a Tag to a Stream</h4><div class="p" id="dis_01_0050__p14599152581020">You can add a tag to a stream on the <strong id="dis_01_0050__b1028620819307">Buy Stream</strong> page.<ol id="dis_01_0050__en-us_topic_0110219762_ol10572152813122"><li id="dis_01_0050__en-us_topic_0110219762_li3572428141214">Log in to the management console.</li><li id="dis_01_0050__en-us_topic_0110219762_li17582182216126">On the management console, choose <strong id="dis_01_0050__b56786301963">Service List</strong> > <strong id="dis_01_0050__b199541355888">Analytics</strong> > <strong id="dis_01_0050__b1844911591784">Data Ingestion Service</strong>.</li><li id="dis_01_0050__en-us_topic_0110219762_li166733366125">On the DIS management console, click <span class="uicontrol" id="dis_01_0050__en-us_topic_0110219762_uicontrol52521849192511"><b>Buy Stream</b></span>.</li><li id="dis_01_0050__en-us_topic_0110219762_li166145220256">On the <strong id="dis_01_0050__b842352706153759">Advanced Settings</strong> tab page, select <strong id="dis_01_0050__b84235270615381">Configure</strong>.<p id="dis_01_0050__en-us_topic_0110219762_p1725317418302">Enter the key and value of a tag to be added.</p>
|
||||
<p id="dis_01_0050__p17658618159">You can add a maximum of 10 tags to the stream and use intersections of tags to search for the target stream.</p>
|
||||
<div class="note" id="dis_01_0050__note3908125316394"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dis_01_0050__p19908125314394">You can also add tags to existing streams. For details, see <a href="#dis_01_0050__section188067265123">Managing Tags</a>.</p>
|
||||
</div></div>
|
||||
</li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0050__section9673161212119"><h4 class="sectiontitle">Searching for a Target Stream</h4><div class="p" id="dis_01_0050__p084314691217">You can search for a target stream by tag on the <strong id="dis_01_0050__b172313517507">Stream Management</strong> page.<ol id="dis_01_0050__en-us_topic_0110219762_ol9758135332313"><li id="dis_01_0050__en-us_topic_0110219762_li1075895372319">Log in to the management console.</li><li id="dis_01_0050__en-us_topic_0110219762_li11758195318238">Choose <strong id="dis_01_0050__b1268673193012_1">EI Enterprise Intelligent</strong> > <strong id="dis_01_0050__b12848233153012_1">Data Ingestion Service</strong>.</li><li id="dis_01_0050__en-us_topic_0110219762_li8758165392315">In the navigation tree, choose <strong id="dis_01_0050__b102471824135113">Ingestion Management</strong> > <strong id="dis_01_0050__b1924722495117">Stream Management</strong>. In the upper right corner of the page, click <strong id="dis_01_0050__b19247172425119">Search by Tag</strong>.</li><li id="dis_01_0050__en-us_topic_0110219762_li11758125372313">Enter the tag key and value of the stream you are searching for.<p id="dis_01_0050__en-us_topic_0110219762_p17581853192317"><a name="dis_01_0050__en-us_topic_0110219762_li11758125372313"></a><a name="en-us_topic_0110219762_li11758125372313"></a>You can select a tag key or tag value from its drop-down list. When the tag key or tag value is exactly matched, the system can automatically locate the target stream. If you enter multiple tags, their intersections are used to search for the stream.</p>
|
||||
<div class="section" id="dis_01_0050__section9673161212119"><h4 class="sectiontitle">Searching for a Target Stream</h4><div class="p" id="dis_01_0050__p084314691217">You can search for a target stream by tag on the <strong id="dis_01_0050__b172313517507">Stream Management</strong> page.<ol id="dis_01_0050__en-us_topic_0110219762_ol9758135332313"><li id="dis_01_0050__en-us_topic_0110219762_li1075895372319">Log in to the management console.</li><li id="dis_01_0050__en-us_topic_0110219762_li11758195318238">Choose <strong id="dis_01_0050__b1268673193012">EI Enterprise Intelligent</strong> > <strong id="dis_01_0050__b12848233153012">Data Ingestion Service</strong>.</li><li id="dis_01_0050__en-us_topic_0110219762_li8758165392315">In the navigation tree, choose <strong id="dis_01_0050__b102471824135113">Ingestion Management</strong> > <strong id="dis_01_0050__b1924722495117">Stream Management</strong>. In the upper right corner of the page, click <strong id="dis_01_0050__b19247172425119">Search by Tag</strong>.</li><li id="dis_01_0050__en-us_topic_0110219762_li11758125372313">Enter the tag key and value of the stream you are searching for.<p id="dis_01_0050__en-us_topic_0110219762_p17581853192317"><a name="dis_01_0050__en-us_topic_0110219762_li11758125372313"></a><a name="en-us_topic_0110219762_li11758125372313"></a>You can select a tag key or tag value from its drop-down list. When the tag key or tag value is exactly matched, the system can automatically locate the target stream. If you enter multiple tags, their intersections are used to search for the stream.</p>
|
||||
</li><li id="dis_01_0050__en-us_topic_0110219762_li7759115315237">Click <strong id="dis_01_0050__b842352706144140">Search</strong>.<p id="dis_01_0050__en-us_topic_0110219762_p1475965312313">The system searches for the target stream by tag key or value.</p>
|
||||
</li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0050__section188067265123"><a name="dis_01_0050__section188067265123"></a><a name="section188067265123"></a><h4 class="sectiontitle">Managing Tags</h4><div class="p" id="dis_01_0050__p149941032171218">You can add, delete, modify, and view tags on the <strong id="dis_01_0050__b84235270616811">Tags</strong> tab page of a stream.<ol id="dis_01_0050__en-us_topic_0110219762_ol1531818513377"><li id="dis_01_0050__en-us_topic_0110219762_li113174583717">Log in to the management console.</li><li id="dis_01_0050__en-us_topic_0110219762_li3653202053718">Choose <strong id="dis_01_0050__b1268673193012_2">EI Enterprise Intelligent</strong> > <strong id="dis_01_0050__b12848233153012_2">Data Ingestion Service</strong>.</li><li id="dis_01_0050__en-us_topic_0110219762_li8653192013716">In the navigation tree, choose <strong id="dis_01_0050__b56831741183316">Ingestion Management</strong> > <strong id="dis_01_0050__b1668424111339">Stream Management</strong>. Click a stream to which the tags to be managed belong to.<p id="dis_01_0050__en-us_topic_0110219762_p4653102012377">The stream details page is displayed.</p>
|
||||
<div class="section" id="dis_01_0050__section188067265123"><a name="dis_01_0050__section188067265123"></a><a name="section188067265123"></a><h4 class="sectiontitle">Managing Tags</h4><div class="p" id="dis_01_0050__p149941032171218">You can add, delete, modify, and view tags on the <strong id="dis_01_0050__b84235270616811">Tags</strong> tab page of a stream.<ol id="dis_01_0050__en-us_topic_0110219762_ol1531818513377"><li id="dis_01_0050__en-us_topic_0110219762_li113174583717">Log in to the management console.</li><li id="dis_01_0050__en-us_topic_0110219762_li3653202053718">Choose <strong id="dis_01_0050__b1946779695">EI Enterprise Intelligent</strong> > <strong id="dis_01_0050__b407986186">Data Ingestion Service</strong>.</li><li id="dis_01_0050__en-us_topic_0110219762_li8653192013716">In the navigation tree, choose <strong id="dis_01_0050__b56831741183316">Ingestion Management</strong> > <strong id="dis_01_0050__b1668424111339">Stream Management</strong>. Click a stream to which the tags to be managed belong to.<p id="dis_01_0050__en-us_topic_0110219762_p4653102012377">The stream details page is displayed.</p>
|
||||
</li><li id="dis_01_0050__en-us_topic_0110219762_li16653620163720">Click the <strong id="dis_01_0050__b842352706161759">Tags</strong> tab and add, deleted, modify, and view tags.<ul id="dis_01_0050__en-us_topic_0110219762_ul56533208376"><li id="dis_01_0050__en-us_topic_0110219762_li5653620103717">View<p id="dis_01_0050__en-us_topic_0110219762_p11653120113714"><a name="dis_01_0050__en-us_topic_0110219762_li5653620103717"></a><a name="en-us_topic_0110219762_li5653620103717"></a>On the <strong id="dis_01_0050__b842352706161835">Tags</strong> tab page, you can view details about tags of the stream, including the number of tags and the key and value of each tag.</p>
|
||||
</li><li id="dis_01_0050__en-us_topic_0110219762_li16531206374">Add<p id="dis_01_0050__en-us_topic_0110219762_p56531820183717"><a name="dis_01_0050__en-us_topic_0110219762_li16531206374"></a><a name="en-us_topic_0110219762_li16531206374"></a>Click <strong id="dis_01_0050__b84235270616191">Add Tag</strong> in the upper left corner. In the displayed <strong id="dis_01_0050__b84235270616196">Add Tag</strong> dialog box, enter the key and value of the tag to be added, and click <strong id="dis_01_0050__b842352706161914">OK</strong>.</p>
|
||||
</li><li id="dis_01_0050__en-us_topic_0110219762_li10653132043717">Modify<p id="dis_01_0050__en-us_topic_0110219762_p186541020163719"><a name="dis_01_0050__en-us_topic_0110219762_li10653132043717"></a><a name="en-us_topic_0110219762_li10653132043717"></a>In the <strong id="dis_01_0050__b842352706161943">Operation</strong> column of a tag, click <strong id="dis_01_0050__b842352706161947">Edit</strong>. In the displayed <strong id="dis_01_0050__b842352706161951">Edit Tag</strong> page, enter a new tag key and value and click <strong id="dis_01_0050__b842352706161957">OK</strong>.</p>
|
||||
</li><li id="dis_01_0050__en-us_topic_0110219762_li0654112016373">Delete<p id="dis_01_0050__en-us_topic_0110219762_p865452013719"><a name="dis_01_0050__en-us_topic_0110219762_li0654112016373"></a><a name="en-us_topic_0110219762_li0654112016373"></a>In the <strong id="dis_01_0050__b842352706162133">Operation</strong> column of the tag, click <strong id="dis_01_0050__b842352706162136">Delete</strong>. After confirmation, click <strong id="dis_01_0050__b842352706162140">OK</strong> on the displayed <strong id="dis_01_0050__b842352706162145">Delete Tag</strong> page.</p>
|
||||
</li><li id="dis_01_0050__en-us_topic_0110219762_li16531206374">Add<p id="dis_01_0050__en-us_topic_0110219762_p56531820183717"><a name="dis_01_0050__en-us_topic_0110219762_li16531206374"></a><a name="en-us_topic_0110219762_li16531206374"></a>Click <strong id="dis_01_0050__b1879922541119">Add Tag</strong> in the upper left corner. In the displayed <strong id="dis_01_0050__b3804192514116">Add Tag</strong> dialog box, enter the key and value of the tag to be added, and click <strong id="dis_01_0050__b118051825111117">OK</strong>.</p>
|
||||
</li><li id="dis_01_0050__en-us_topic_0110219762_li10653132043717">Modify<p id="dis_01_0050__en-us_topic_0110219762_p186541020163719"><a name="dis_01_0050__en-us_topic_0110219762_li10653132043717"></a><a name="en-us_topic_0110219762_li10653132043717"></a>In the <strong id="dis_01_0050__b637472921113">Operation</strong> column of the tag, click <strong id="dis_01_0050__b1537492981118">Edit</strong>. In the displayed <strong id="dis_01_0050__b537417295116">Edit Tag</strong> page, enter new tag key and value and click <strong id="dis_01_0050__b1537552916117">OK</strong>.</p>
|
||||
</li><li id="dis_01_0050__en-us_topic_0110219762_li0654112016373">Delete<p id="dis_01_0050__en-us_topic_0110219762_p865452013719"><a name="dis_01_0050__en-us_topic_0110219762_li0654112016373"></a><a name="en-us_topic_0110219762_li0654112016373"></a>In the <strong id="dis_01_0050__b1037293331114">Operation</strong> column of the tag, click <strong id="dis_01_0050__b43731833111112">Delete</strong>. After confirmation, click <strong id="dis_01_0050__b237343381117">OK</strong> in the displayed page for deleting a tag.</p>
|
||||
</li></ul>
|
||||
</li></ol>
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<div class="tablenoborder"><a name="dis_01_0131__table77137321225"></a><a name="table77137321225"></a><table cellpadding="4" cellspacing="0" summary="" id="dis_01_0131__table77137321225" frame="border" border="1" rules="all"><caption><b>Table 1 </b>DIS metrics</caption><thead align="left"><tr id="dis_01_0131__en-us_topic_0108275405_row43942741114044"><th align="left" class="cellrowborder" valign="top" width="16.56%" id="mcps1.3.4.2.6.1.1"><p id="dis_01_0131__en-us_topic_0108275405_p2592269114044">Metric Name</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="34.36%" id="mcps1.3.4.2.6.1.2"><p id="dis_01_0131__en-us_topic_0108275405_p8647250114044">Meaning</p>
|
||||
<th align="left" class="cellrowborder" valign="top" width="34.36%" id="mcps1.3.4.2.6.1.2"><p id="dis_01_0131__en-us_topic_0108275405_p8647250114044">Description</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="17.23%" id="mcps1.3.4.2.6.1.3"><p id="dis_01_0131__en-us_topic_0108275405_p29338635114044">Value Range</p>
|
||||
</th>
|
||||
@ -25,7 +25,7 @@
|
||||
<td class="cellrowborder" valign="top" width="34.36%" headers="mcps1.3.4.2.6.1.2 "><p id="dis_01_0131__en-us_topic_0108275405_p797216483399">The amount of data uploaded through a stream during a specific period.</p>
|
||||
<p id="dis_01_0131__en-us_topic_0108275405_p53432504142613">Unit: byte/s</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__en-us_topic_0108275405_p10809908114044">≥ 0 bytes/s</p>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__en-us_topic_0108275405_p10809908114044">≥ 0</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15.32%" headers="mcps1.3.4.2.6.1.4 "><p id="dis_01_0131__en-us_topic_0108275405_p3187376114044">Stream</p>
|
||||
</td>
|
||||
@ -37,7 +37,7 @@
|
||||
<td class="cellrowborder" valign="top" width="34.36%" headers="mcps1.3.4.2.6.1.2 "><p id="dis_01_0131__en-us_topic_0108275405_p2056991684015">The amount of data downloaded through a stream during a specific period.</p>
|
||||
<p id="dis_01_0131__en-us_topic_0108275405_p1439762916401">Unit: byte/s</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__en-us_topic_0108275405_p4308371114044">≥ 0 bytes/s</p>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__en-us_topic_0108275405_p4308371114044">≥ 0</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15.32%" headers="mcps1.3.4.2.6.1.4 "><p id="dis_01_0131__p54301258185217">Stream</p>
|
||||
</td>
|
||||
@ -49,7 +49,7 @@
|
||||
<td class="cellrowborder" valign="top" width="34.36%" headers="mcps1.3.4.2.6.1.2 "><p id="dis_01_0131__p1259919394581">The number of records uploaded through a stream during a specific period.</p>
|
||||
<p id="dis_01_0131__p92251733452">Unit: count/s</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__p1059716395588">≥ 0 Count/s</p>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__p1059716395588">≥ 0</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15.32%" headers="mcps1.3.4.2.6.1.4 "><p id="dis_01_0131__p1187412235318">Stream</p>
|
||||
</td>
|
||||
@ -61,7 +61,7 @@
|
||||
<td class="cellrowborder" valign="top" width="34.36%" headers="mcps1.3.4.2.6.1.2 "><p id="dis_01_0131__p2059663955813">The number of records downloaded through a stream during a specific period.</p>
|
||||
<p id="dis_01_0131__p715131719455">Unit: count/s</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__p12594239135817">≥ 0 Count/s</p>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__p12594239135817">≥ 0</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15.32%" headers="mcps1.3.4.2.6.1.4 "><p id="dis_01_0131__en-us_topic_0108275405_p711259173513">Stream</p>
|
||||
</td>
|
||||
@ -73,7 +73,7 @@
|
||||
<td class="cellrowborder" valign="top" width="34.36%" headers="mcps1.3.4.2.6.1.2 "><p id="dis_01_0131__p1960114104316">The number of successful requests for uploading data through a stream during a specific period.</p>
|
||||
<p id="dis_01_0131__p1088061410512">Unit: count/s</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__p7224173345114">≥ 0 Count/s</p>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__p7224173345114">≥ 0</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15.32%" headers="mcps1.3.4.2.6.1.4 "><p id="dis_01_0131__p62257330519">Stream</p>
|
||||
</td>
|
||||
@ -85,7 +85,7 @@
|
||||
<td class="cellrowborder" valign="top" width="34.36%" headers="mcps1.3.4.2.6.1.2 "><p id="dis_01_0131__p7601741104320">The number of successful requests for downloading data through a stream during a specific period.</p>
|
||||
<p id="dis_01_0131__p14199151819518">Unit: count/s</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__p346213413513">≥ 0 Count/s</p>
|
||||
<td class="cellrowborder" valign="top" width="17.23%" headers="mcps1.3.4.2.6.1.3 "><p id="dis_01_0131__p346213413513">≥ 0</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15.32%" headers="mcps1.3.4.2.6.1.4 "><p id="dis_01_0131__p124623412519">Stream</p>
|
||||
</td>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div id="body1576045825853"><div class="section" id="dis_01_0132__section38299792222911"><h4 class="sectiontitle">Scenario</h4><p id="dis_01_0132__p40311482223529">You can customize the monitored objects and notification policies by setting alarm rules to learn DIS running status in a timely manner.</p>
|
||||
<p id="dis_01_0132__p22430771222915">A DIS alarm rule includes the alarm rule name, monitored object, metric, threshold, monitoring interval, and whether to send a notification. This section describes how to set DIS alarm rules.</p>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0132__section7969360222918"><h4 class="sectiontitle">Procedure</h4><ol id="dis_01_0132__ol3603449165213"><li id="dis_01_0132__li10856553142411"><span>Log in to the management console.</span></li><li id="dis_01_0132__li14932517254"><span>Choose <strong id="dis_01_0132__b84235270614643">All Services</strong> > <strong id="dis_01_0132__b28969008102457">Management & Deployment</strong> > <strong id="dis_01_0132__b5886337910251">Cloud Eye</strong>.</span></li><li id="dis_01_0132__li8603849115211"><span>In the left navigation pane, choose <span class="menucascade" id="dis_01_0132__menucascade3534841202513"><b><span class="uicontrol" id="dis_01_0132__uicontrol12532134118258">Alarm Management</span></b> > <b><span class="uicontrol" id="dis_01_0132__uicontrol5533141182510">Alarm Rules</span></b> > <b><span class="uicontrol" id="dis_01_0132__uicontrol135341441102513">Create Alarm Rule</span></b></span>.</span></li><li id="dis_01_0132__li2060313497522"><span>Set alarm rules for the DIS stream as prompted. Currently, only custom alarm rules are supported.</span></li><li id="dis_01_0132__li37012233370"><span>After the setting is complete, click <strong id="dis_01_0132__b273781232616">Create</strong>. When an alarm that meets the rule is generated, the system automatically sends a notification.</span><p><div class="note" id="dis_01_0132__note14719132383713"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dis_01_0132__p1493015251373">For more information about DIS alarm rules, see the <em id="dis_01_0132__i2454123353119">Cloud Eye User Guide</em>.</p>
|
||||
<div class="section" id="dis_01_0132__section7969360222918"><h4 class="sectiontitle">Procedure</h4><ol id="dis_01_0132__ol3603449165213"><li id="dis_01_0132__li10856553142411"><span>Log in to the management console.</span></li><li id="dis_01_0132__li14932517254"><span>Choose <strong id="dis_01_0132__b2079552214416">Service List</strong> > <strong id="dis_01_0132__b1680012217416">Management & Governance</strong> > <strong id="dis_01_0132__b14801162213417">Cloud Eye</strong>.</span></li><li id="dis_01_0132__li8603849115211"><span>In the left navigation pane, choose <span class="menucascade" id="dis_01_0132__menucascade07671643144119"><b><span class="uicontrol" id="dis_01_0132__uicontrol9765184384115">Alarm Management</span></b> > <b><span class="uicontrol" id="dis_01_0132__uicontrol47661143174117">Alarm Rules</span></b></span>. In the right pane, click <strong id="dis_01_0132__b1069123674214">Create Alarm Rule</strong>.</span></li><li id="dis_01_0132__li2060313497522"><span>Set alarm rules for the DIS stream as prompted. Currently, only custom alarm rules are supported.</span></li><li id="dis_01_0132__li37012233370"><span>After configuring the required parameters, click <span class="uicontrol" id="dis_01_0132__uicontrol16264163134617"><b>Create</b></span>. When an alarm that meets the rule is generated, the system automatically sends a notification.</span><p><div class="note" id="dis_01_0132__note14719132383713"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dis_01_0132__p1493015251373">For more information about DIS alarm rules, see the <em id="dis_01_0132__i2454123353119">Cloud Eye User Guide</em>.</p>
|
||||
</div></div>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
|
@ -8,8 +8,8 @@
|
||||
</div></div>
|
||||
</li><li id="dis_01_0134__en-us_topic_0108275429_li57051036213210">Alarm rules have been configured on the Cloud Eye page. For details, see <a href="dis_01_0132.html">Setting Alarm Rules</a>.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0134__en-us_topic_0108275429_section44667294224513"><h4 class="sectiontitle">Procedure</h4><ol id="dis_01_0134__en-us_topic_0108275429_ol128078161538"><li id="dis_01_0134__li15698020121516"><span>Use the account to log in to the DIS console.</span></li><li id="dis_01_0134__li820627292052"><span>Click <span><img id="dis_01_0134__image1815211616394" src="en-us_image_0000001222577290.png"></span> in the upper left corner of the page and select a region and project.</span></li><li id="dis_01_0134__li15493172951416"><span>In the navigation tree on the left, choose <span class="uicontrol" id="dis_01_0134__uicontrol1055134515481"><b>Stream Management</b></span>.</span></li><li id="dis_01_0134__li3041782121655"><span>In the stream list, click the name of the DIS stream whose monitoring metrics will be viewed. The monitoring page is displayed.</span></li><li id="dis_01_0134__li1839535818515"><span>On the <span class="parmname" id="dis_01_0134__parmname10645163914499"><b>Streams</b></span> tab page, click <span class="uicontrol" id="dis_01_0134__uicontrol16405133465110"><b>View details</b></span> to switch to the Cloud Eye console.</span></li><li id="dis_01_0134__en-us_topic_0108275429_li1807716137"><span>On the DIS monitoring page, you can view the graphs of all monitoring metrics.</span><p><div class="fignone" id="dis_01_0134__fig1448022451614"><span class="figcap"><b>Figure 1 </b>Viewing DIS monitoring metrics</span><br><span><img id="dis_01_0134__image19619551189" src="en-us_image_0000001222417338.png"></span></div>
|
||||
</p></li><li id="dis_01_0134__en-us_topic_0108275429_li3809101614316"><span>Click <span><img id="dis_01_0134__en-us_topic_0108275429_image1550615955112" src="en-us_image_0000001222097374.png"></span> in the upper right corner of the graphs to zoom out the graphs.</span><p><p id="dis_01_0134__p17702182242214">You can view the raw monitoring data curves of different metrics in the last 1 hour, 3 hours, and 12 hours. You can determine whether to enable <strong id="dis_01_0134__b4911188105316">Auto Refresh</strong>. Cloud Eye provides an automatic refresh interval of 60 seconds.</p>
|
||||
<div class="section" id="dis_01_0134__en-us_topic_0108275429_section44667294224513"><h4 class="sectiontitle">Procedure</h4><ol id="dis_01_0134__en-us_topic_0108275429_ol128078161538"><li id="dis_01_0134__li15698020121516"><span>Use the account to log in to the DIS console.</span></li><li id="dis_01_0134__li820627292052"><span>Click <span><img id="dis_01_0134__image1815211616394" src="en-us_image_0238223179.png"></span> in the upper left corner of the page and select a region and project.</span></li><li id="dis_01_0134__li15493172951416"><span>In the navigation tree on the left, choose <span class="uicontrol" id="dis_01_0134__uicontrol1055134515481"><b>Stream Management</b></span>.</span></li><li id="dis_01_0134__li3041782121655"><span>In the stream list, click the name of the DIS stream whose monitoring metrics will be viewed. The monitoring page is displayed.</span></li><li id="dis_01_0134__li1839535818515"><span>On the <span class="parmname" id="dis_01_0134__parmname10645163914499"><b>Streams</b></span> tab page, click <span class="uicontrol" id="dis_01_0134__uicontrol16405133465110"><b>View details</b></span> to switch to the Cloud Eye console.</span></li><li id="dis_01_0134__en-us_topic_0108275429_li1807716137"><span>On the DIS monitoring page, you can view the graphs of all monitoring metrics.</span><p><div class="fignone" id="dis_01_0134__fig1448022451614"><span class="figcap"><b>Figure 1 </b>Viewing DIS monitoring metrics</span><br><span><img id="dis_01_0134__image19619551189" src="en-us_image_0000001098956296.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</p></li><li id="dis_01_0134__en-us_topic_0108275429_li3809101614316"><span>Click <span><img id="dis_01_0134__en-us_topic_0108275429_image1550615955112" src="en-us_image_0216208311.png"></span> in the upper right corner of the graphs to zoom out the graphs.</span><p><p id="dis_01_0134__p17702182242214">You can view the raw monitoring data curves of different metrics over different periods, such as the last 1 hour, 3 hours, and 12 hours. You can determine whether to enable <strong id="dis_01_0134__b4911188105316">Auto Refresh</strong>. Cloud Eye provides an automatic refresh interval of 60 seconds.</p>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
@ -19,3 +19,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script language="JavaScript">
|
||||
<!--
|
||||
image_size('.imgResize');
|
||||
var msg_imageMax = "view original image";
|
||||
var msg_imageClose = "close";
|
||||
//--></script>
|
@ -1,19 +0,0 @@
|
||||
<a name="dis_01_0222"></a><a name="dis_01_0222"></a>
|
||||
|
||||
|
||||
<h1 class="topictitle1">CDR Specification</h1>
|
||||
|
||||
<div id="body0000001205888444"><p id="dis_01_0222__p8060118"></p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="dis_01_0223.html">Billing Model</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dis_01_0224.html">CDR Folder and File Name</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dis_01_0228.html">CDR Specification</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -1,30 +0,0 @@
|
||||
<a name="dis_01_0223"></a><a name="dis_01_0223"></a>
|
||||
|
||||
<h1 class="topictitle1">Billing Model</h1>
|
||||
<div id="body0000001250089797"><p id="dis_01_0223__p1661014503918">Data Ingestion Service (DIS) is charged for resource usage, there are three main billing factors: the duration of Partition and PUT Payload Unit number.</p>
|
||||
<ul id="dis_01_0223__ul106101503919"><li id="dis_01_0223__li8704120141112">General partition contains duration, PUT Payload Unit number, Data storage size billing factor. Advanced partition contains duration billing factor.</li><li id="dis_01_0223__li443915619103">The duration of Partition: Partition is the base capacity unit of DIS. There are two types of partition: General partition and advanced partition. The general partition provides a capacity of 1MB/sec data input , 2MB/sec data outputand support up to 1000 records put per second. The advanced partition provides a capacity of 5MB/sec data input ,10MB/sec data output and support up to 2000 records put per second .You specify the number of partitions when create the stream based on the throughput requirements. You are charged for each partition at an hourly rate.</li><li id="dis_01_0223__li9610050396">PUT Payload Unit number: A record is the data that your data producer adds to DIS stream. A PUT Payload Unit is counted in 25KB payload "chunks" that comprise a record. For example, a 5KB record contains one PUT Payload Unit, a 45KB record contains two PUT Payload Units, and a 1000KB record contains 40 PUT Payload Units. PUT Payload Unit is charged with a per million PUT Payload Units rate.</li><li id="dis_01_0223__li26111050592">Data storage size: the data storage size in DIS input from the partition. The Customer can specify stream data storage time: from One day to Seven days when create the stream. If the data storage time exceeds the specified time, the data will be automatically aged. In general, the data storage one day is free, it means that 84GB of storage space for each partition is free to use. Of course, the final free space size can be specified according to the actual situation.</li></ul>
|
||||
<p id="dis_01_0223__p387483571019">DIS is charged for resource usage as follow:</p>
|
||||
<ul id="dis_01_0223__ul1161515269430"><li id="dis_01_0223__li166152026134320">One Partition Costs = partition time * partition rate + Payload Unit Num * Payload Unit Rate + Data storage size * storage size rate</li><li id="dis_01_0223__li1561562654317">Total Costs per stream = Partition 1 Cost + Partition 2 Cost + … + Partition n Cost</li></ul>
|
||||
<p id="dis_01_0223__p1917124664313">Both resources will be charged at the same time. Each charged will be listed separately. There will be 3 CDR records for each stream in the billing interval.</p>
|
||||
<p id="dis_01_0223__p9172194617438">The data will be cached for some time in the service, and default cache time is 24 hours. If the user want dump the data to OBS, the operation in OBS will be charged separately.</p>
|
||||
<p id="dis_01_0223__p773845944514">Example:</p>
|
||||
<p id="dis_01_0223__p1584071224616">Let us assume that our data producers put 50 records per second in aggregate, and each record is 35KB. In this case, the total data input rate is 1.7MB/sec (50 records/sec*35KB/record). For simplicity, we assume that the throughput and data size of each record are stable and constant throughout the day.</p>
|
||||
<p id="dis_01_0223__p3840712104614">We first calculate the number of partitions needed for our stream to achieve the required throughput. As one partition provides a capacity of 1MB/sec data input and supports 1000 records/sec, two partitions provide a capacity of 2MB/sec data input and support 2000 records/sec. So a stream with two partitions satisfies our required throughput of 1.7MB/sec at 50 records/sec.</p>
|
||||
<p id="dis_01_0223__p18840131220468">We then calculate our costs using DIS pricing:</p>
|
||||
<ul id="dis_01_0223__ul780723134615"><li id="dis_01_0223__li148012344614">Partition Hour: One Partition costs $X per hour. Our stream has two partitions so that it costs $2X per hour.</li><li id="dis_01_0223__li11804235468">PUT Payload Unit (25KB): The 1 million Payload Unit costs $Y. As our record is 35KB, each record contains two PUT Payload Units. Our data producers put 50 records or 100 PUT Payload Units per second in aggregate. That is 180000 records or 360000 PUT Payload Units per hour.so it costs 0.36*Y per hour.</li></ul>
|
||||
<p id="dis_01_0223__p844633720467">If the data in the DIS stored 1 day, the Data storage size is always less than 84GB, so the total cost per hour is :$(2X + Y)</p>
|
||||
<p id="dis_01_0223__p144461037174620">Optionally, we can choose to increase the data retention period of our stream from 24 hours to up to 7 days. In this example, if the throughput is stable, the data storage size is 514.08GB per partition(0.85MB/sec * 3600sec * 24hour * 7day).We assume that the data storage rate is $Z per GB*Hour, the cost is $860.16*Z( the detail is (514.08-84)GB * 2 partitions * Z). The total cost should $(2*X + Y + 860.16*Z).</p>
|
||||
<p id="dis_01_0223__p4446337204611"><strong id="dis_01_0223__b5446123754620">Shard Hour</strong></p>
|
||||
<p id="dis_01_0223__p174461937174610">Shard is the base throughput unit of an Amazon Kinesis stream. One shard provides a capacity of 1MB/sec data input and 2MB/sec data output. One shard can support up to 1000 records per second. You specify the number of shards needed within your stream based on your throughput requirements. You are charged for each shard at an hourly rate.</p>
|
||||
<p id="dis_01_0223__p11446183744619"><strong id="dis_01_0223__b2044693711469">PUT Payload Unit (25KB)</strong></p>
|
||||
<p id="dis_01_0223__p14461737134616">A record is the data that your data producer adds to your Amazon Kinesis stream. A PUT Payload Unit is counted in 25KB payload "chunks" that comprise a record. For example, a 5KB record contains one PUT Payload Unit, a 45KB record contains two PUT Payload Units, and a 1MB record contains 40 PUT Payload Units. PUT Payload Unit is charged with a per million PUT Payload Units rate.</p>
|
||||
<p id="dis_01_0223__p174461337104612"><strong id="dis_01_0223__b164469373468">Extended Data Retention (Up to 7 days)</strong></p>
|
||||
<p id="dis_01_0223__p24461237194610">Amazon Kinesis stores your data for 24 hours by default. You can choose to increase the data retention period of your stream to up to 7 days. You are charged for an additional rate on each shard hour incurred by your stream once you enable extended data retention.</p>
|
||||
<ul id="dis_01_0223__ul0564134424616"><li id="dis_01_0223__li13564104418464">Getting records from Amazon Kinesis stream is free.</li><li id="dis_01_0223__li17564134404613">Data transfer is free. AWS does not charge for data transfer from your data producers to Amazon Kinesis Streams, or from Amazon Kinesis Streams to your Amazon Kinesis Applications.</li></ul>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dis_01_0222.html">CDR Specification</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,19 +0,0 @@
|
||||
<a name="dis_01_0224"></a><a name="dis_01_0224"></a>
|
||||
|
||||
<h1 class="topictitle1">CDR Folder and File Name</h1>
|
||||
<div id="body0000001205569852"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="dis_01_0225.html">Overview</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dis_01_0226.html">CDR Folder</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dis_01_0227.html">Service CDR File Name</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dis_01_0222.html">CDR Specification</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,12 +0,0 @@
|
||||
<a name="dis_01_0225"></a><a name="dis_01_0225"></a>
|
||||
|
||||
<h1 class="topictitle1">Overview</h1>
|
||||
<div id="body0000001249929843"><p id="dis_01_0225__p737033812472">Similar to other cloud services , CDR files for DIS will be generated, containing DIS usage information, OTC billing system will fetch these files from certain directory on Common CDR SFTP via public key to complete the charging of DIS.</p>
|
||||
<p id="dis_01_0225__p1037053810477">The file compression agonization, MD5 verification, error file handling are totally same as the CDR files of other cloud services.for details, please refer to document of"OTC CDR File Specifications".</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dis_01_0224.html">CDR Folder and File Name</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,35 +0,0 @@
|
||||
<a name="dis_01_0226"></a><a name="dis_01_0226"></a>
|
||||
|
||||
<h1 class="topictitle1">CDR Folder</h1>
|
||||
<div id="body0000001250369843">
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dis_01_0226__table21412498476" frame="border" border="1" rules="all"><thead align="left"><tr id="dis_01_0226__row9182104911474"><th align="left" class="cellrowborder" valign="top" width="36.97%" id="mcps1.3.1.1.3.1.1"><p id="dis_01_0226__p191825495471">Export Directory</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="63.029999999999994%" id="mcps1.3.1.1.3.1.2"><p id="dis_01_0226__p91821249204720">Backup Directory</p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="dis_01_0226__row121821349104718"><td class="cellrowborder" valign="top" width="36.97%" headers="mcps1.3.1.1.3.1.1 "><ul id="dis_01_0226__ul718254964715"><li id="dis_01_0226__li191821649124714">/opt/meterfiles/uploads/dispartition</li></ul>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="63.029999999999994%" headers="mcps1.3.1.1.3.1.2 "><ul id="dis_01_0226__ul201821249184718"><li id="dis_01_0226__li1518284911472">/opt/meterfiles/backup/dispartition</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0226__row318264920471"><td class="cellrowborder" valign="top" width="36.97%" headers="mcps1.3.1.1.3.1.1 "><ul id="dis_01_0226__ul121821649134712"><li id="dis_01_0226__li17182174914719">/opt/meterfiles/uploads/dispayloadunit</li></ul>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="63.029999999999994%" headers="mcps1.3.1.1.3.1.2 "><ul id="dis_01_0226__ul171820490472"><li id="dis_01_0226__li2018210490479">/opt/meterfiles/backup/dispayloadunit</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0226__row11182144994718"><td class="cellrowborder" valign="top" width="36.97%" headers="mcps1.3.1.1.3.1.1 "><ul id="dis_01_0226__ul5182134984718"><li id="dis_01_0226__li518294913471">/opt/meterfiles/uploads/disdatasize</li></ul>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="63.029999999999994%" headers="mcps1.3.1.1.3.1.2 "><ul id="dis_01_0226__ul13182149174720"><li id="dis_01_0226__li131828499479">/opt/meterfiles/backup/disdatasize</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dis_01_0224.html">CDR Folder and File Name</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,18 +0,0 @@
|
||||
<a name="dis_01_0227"></a><a name="dis_01_0227"></a>
|
||||
|
||||
<h1 class="topictitle1">Service CDR File Name</h1>
|
||||
<div id="body0000001205729812"><p id="dis_01_0227__p25011419104917">OTC_{region_code}_dispart_YYYYMMDDHHMMSS_YYYYMMDDHHMMSS_{az_code}_{serial_number}.csv/zip</p>
|
||||
<p id="dis_01_0227__p6501121918491">OTC_{region_code}_dispayunit_YYYYMMDDHHMMSS_YYYYMMDDHHMMSS_{az_code}_{serial_number}.csv/zip</p>
|
||||
<p id="dis_01_0227__p350115195496">OTC_{region_code}_dissize_YYYYMMDDHHMMSS_YYYYMMDDHHMMSS_{az_code}_{serial_number}.csv/zip</p>
|
||||
<p id="dis_01_0227__p2501161915491">The {az_code} is not used by dis, the value is set the AZ01 number by default.</p>
|
||||
<p id="dis_01_0227__p135015194491"><strong id="dis_01_0227__b17776132944920">For example:</strong></p>
|
||||
<p id="dis_01_0227__p135011199496">OTC_eu-de_dispart_20170427100000_20170427105959_eu-de-01_0001.csv/zip</p>
|
||||
<p id="dis_01_0227__p11501171917494">OTC_eu-de_dispayunit_20170427100000_20170427105959_eu-de-01_0001.csv/zip</p>
|
||||
<p id="dis_01_0227__p10501141914496">OTC_eu-de_dissize<strong id="dis_01_0227__b950151964912">_20170427100000_20170427105959_ eu-de-01 _0001.csv/zip</strong></p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dis_01_0224.html">CDR Folder and File Name</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,21 +0,0 @@
|
||||
<a name="dis_01_0228"></a><a name="dis_01_0228"></a>
|
||||
|
||||
<h1 class="topictitle1">CDR Specification</h1>
|
||||
<div id="body0000001205889802"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="dis_01_0229.html">The CDR Specification</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dis_01_0230.html">The Partition CDR Content</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dis_01_0231.html">The PUT Payload Unit CDR Content</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dis_01_0232.html">The Data Store Size CDR Content</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dis_01_0222.html">CDR Specification</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,75 +0,0 @@
|
||||
<a name="dis_01_0229"></a><a name="dis_01_0229"></a>
|
||||
|
||||
<h1 class="topictitle1">The CDR Specification</h1>
|
||||
<div id="body0000001205409858"><p id="dis_01_0229__p769615221648">Charging requirement: Charging starts from the time when the DIS instance is created and stops when the DIS instance is deleted.</p>
|
||||
<p id="dis_01_0229__p1769618227416">CDR record cycle: The minimum granularity is minute, and the current cycle is 60 minutes. The interval for uploading offline CDR files is one hour.</p>
|
||||
<p id="dis_01_0229__p13696122145">There are three types of Product ID corresponding to three billing factors in DIS. The detail information of the product ID looks like below:</p>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dis_01_0229__table3947101718552" frame="border" border="1" rules="all"><caption><b>Table 1 </b>DIS Product ID</caption><thead align="left"><tr id="dis_01_0229__row810201810553"><th align="left" class="cellrowborder" valign="top" width="20.31%" id="mcps1.3.4.2.5.1.1"><p id="dis_01_0229__p3105186552">ResourceTypeCode</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="21.27%" id="mcps1.3.4.2.5.1.2"><p id="dis_01_0229__p101016181557">ID Commercial Product</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="44.42%" id="mcps1.3.4.2.5.1.3"><p id="dis_01_0229__p1810318165516">Describe of Commercial Product EN</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.4.2.5.1.4"><p id="dis_01_0229__p310131816554">Unit of Measure</p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="dis_01_0229__row5101518115511"><td class="cellrowborder" rowspan="2" valign="top" width="20.31%" headers="mcps1.3.4.2.5.1.1 "><p id="dis_01_0229__p1910318125513"><em id="dis_01_0229__i18843016141013">otc</em>.resource.type.dispart</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="21.27%" headers="mcps1.3.4.2.5.1.2 "><p id="dis_01_0229__p2010181815555">OTC_DIS_GEN_TIME</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="44.42%" headers="mcps1.3.4.2.5.1.3 "><p id="dis_01_0229__p101011895515">The length of time the user is using the general partition</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.5.1.4 "><p id="dis_01_0229__p1010101811554">second</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0229__row310141817557"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.1.1 "><p id="dis_01_0229__p31051818552">OTC_DIS_ADV_TIME</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.1.2 "><p id="dis_01_0229__p2010161885510">The length of time the user is using the advanced partition</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.1.3 "><p id="dis_01_0229__p1410111819555">second</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0229__row21018189553"><td class="cellrowborder" rowspan="2" valign="top" width="20.31%" headers="mcps1.3.4.2.5.1.1 "><p id="dis_01_0229__p110818155512"><em id="dis_01_0229__i0241230155118">otc</em>.resource.type.dispayunit</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="21.27%" headers="mcps1.3.4.2.5.1.2 "><p id="dis_01_0229__p18104181557">OTC_DIS_GEN_UNIT</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="44.42%" headers="mcps1.3.4.2.5.1.3 "><p id="dis_01_0229__p01041845518">The number of the PUT Payload Unit for general partition</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.5.1.4 "><p id="dis_01_0229__p01012182553">number</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0229__row14101018195514"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.1.1 "><p id="dis_01_0229__p111017182558">OTC_DIS_ADV_UNIT</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.1.2 "><p id="dis_01_0229__p310118125513">The number of the PUT Payload Unit for advanced partition</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.1.3 "><p id="dis_01_0229__p4101718165511">number</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0229__row310818105510"><td class="cellrowborder" rowspan="2" valign="top" width="20.31%" headers="mcps1.3.4.2.5.1.1 "><p id="dis_01_0229__p610131865513"><em id="dis_01_0229__i1347013356516">otc</em>.resource.type.dissize</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="21.27%" headers="mcps1.3.4.2.5.1.2 "><p id="dis_01_0229__p3101818205519">OTC_DIS_GEN_STORE</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="44.42%" headers="mcps1.3.4.2.5.1.3 "><p id="dis_01_0229__p41071813554">The data storage size in general partition.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.5.1.4 "><p id="dis_01_0229__p911131820550">byte</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_01_0229__row81131835518"><td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.1.1 "><p id="dis_01_0229__p131111186554">OTC_DIS_ADV_STORE</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.1.2 "><p id="dis_01_0229__p1611181835518">The data storage size in advanced partition.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.1.3 "><p id="dis_01_0229__p191111819559">byte</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dis_01_0228.html">CDR Specification</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -4,20 +4,20 @@
|
||||
<div id="body1493022272990"><p class="MsoNormal" id="dis_01_0602__p18389930">Before developing DIS applications, prepare an application development environment, and then obtain a software development kit (SDK) and sample project and import them to the development environment.</p>
|
||||
<div class="section" id="dis_01_0602__section31291646"><h4 class="sectiontitle">Prerequisites</h4><ul id="dis_01_0602__ul20084682"><li id="dis_01_0602__li46544415">JDK 1.8 or later has been installed.</li><li id="dis_01_0602__li16246551">Eclipse has been installed.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0602__section13189358"><h4 class="sectiontitle">Procedure</h4><ol id="dis_01_0602__ol32576140"><li id="dis_01_0602__li24749807"><span>Configure a JDK using Eclipse.</span><p><ol type="a" id="dis_01_0602__ol21421675"><li id="dis_01_0602__li58577354">Start Eclipse and choose <strong id="dis_01_0602__b08791630173311">Window</strong> > <strong id="dis_01_0602__b08801530133314">Preferences</strong>. The <span class="wintitle" id="dis_01_0602__wintitle58800305331"><b>Preferences</b></span> dialog box is displayed.</li><li id="dis_01_0602__li57434139">In the navigation tree, choose <strong id="dis_01_0602__b1974610293311">Java</strong>. On the <strong id="dis_01_0602__b759864163510">Java</strong> page, configure general settings for Java development and then click <strong id="dis_01_0602__b282715546358">OK</strong>. <div class="fignone" id="dis_01_0602__fig37124028152333"><span class="figcap"><b>Figure 1 </b>Preferences</span><br><span><img id="dis_01_0602__image9119245" src="en-us_image_0000001266697405.png"></span></div>
|
||||
<div class="section" id="dis_01_0602__section13189358"><h4 class="sectiontitle">Procedure</h4><ol id="dis_01_0602__ol32576140"><li id="dis_01_0602__li24749807"><span>Configure a JDK using Eclipse.</span><p><ol type="a" id="dis_01_0602__ol21421675"><li id="dis_01_0602__li58577354">Start Eclipse and choose <strong id="dis_01_0602__b08791630173311">Window</strong> > <strong id="dis_01_0602__b08801530133314">Preferences</strong>. The <span class="wintitle" id="dis_01_0602__wintitle58800305331"><b>Preferences</b></span> dialog box is displayed.</li><li id="dis_01_0602__li57434139">In the navigation tree, choose <strong id="dis_01_0602__b1974610293311">Java</strong>. On the <strong id="dis_01_0602__b759864163510">Java</strong> page, configure general settings for Java development and then click <strong id="dis_01_0602__b282715546358">OK</strong>. <div class="fignone" id="dis_01_0602__fig37124028152333"><span class="figcap"><b>Figure 1 </b>Preferences</span><br><span><img id="dis_01_0602__image9119245" src="en-us_image_0120206057.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li><li id="dis_01_0602__li461342">In the navigation tree, choose <strong id="dis_01_0602__b179742143386">Java</strong> > <strong id="dis_01_0602__b143362188380">Installed JREs</strong>.<ul id="dis_01_0602__ul4124816117435"><li id="dis_01_0602__li5866768117435">Ensure that configured JDK environmental variables are displayed on the <span class="wintitle" id="dis_01_0602__wintitle1670319381142746"><b>Installed JREs</b></span> page. Then go to <a href="#dis_01_0602__li12377149194529">1.c.i</a>.</li><li id="dis_01_0602__li2039334417435">To configure different variables for different versions of JDK, perform <a href="#dis_01_0602__li40268681153416">1.c.ii</a> to <a href="#dis_01_0602__li6851708153416">1.c.iv</a>.</li></ul>
|
||||
<div class="fignone" id="dis_01_0602__fig6650071152523"><span class="figcap"><b>Figure 2 </b>Installed JREs</span><br><span><img id="dis_01_0602__image16468652" src="en-us_image_0000001266777405.png"></span></div>
|
||||
<ol class="substepthirdol" id="dis_01_0602__ol21299447194534"><li id="dis_01_0602__li12377149194529"><a name="dis_01_0602__li12377149194529"></a><a name="li12377149194529"></a>Select the installed JDK and click <strong id="dis_01_0602__b121191011162011">OK</strong>.</li><li id="dis_01_0602__li40268681153416"><a name="dis_01_0602__li40268681153416"></a><a name="li40268681153416"></a>Click <strong id="dis_01_0602__b842352706101132">Add</strong>. The <span class="wintitle" id="dis_01_0602__wintitle947219353202"><b>Add JRE</b></span> dialog box is displayed. <div class="fignone" id="dis_01_0602__fig2154153153416"><span class="figcap"><b>Figure 3 </b>JRE Type</span><br><span><img id="dis_01_0602__image22608971153416" src="en-us_image_0000001222257286.png"></span></div>
|
||||
</li><li id="dis_01_0602__li15674381153416">Select a JRE type and click <strong id="dis_01_0602__b153821111217">Next</strong>.<div class="fignone" id="dis_01_0602__fig62331347153416"><span class="figcap"><b>Figure 4 </b>JRE Definition</span><br><span><img id="dis_01_0602__image29295326153416" src="en-us_image_0000001266897385.png"></span></div>
|
||||
<div class="fignone" id="dis_01_0602__fig6650071152523"><span class="figcap"><b>Figure 2 </b>Installed JREs</span><br><span><img id="dis_01_0602__image16468652" src="en-us_image_0120206033.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
<ol class="substepthirdol" id="dis_01_0602__ol21299447194534"><li id="dis_01_0602__li12377149194529"><a name="dis_01_0602__li12377149194529"></a><a name="li12377149194529"></a>Select the installed JDK and click <strong id="dis_01_0602__b121191011162011">OK</strong>.</li><li id="dis_01_0602__li40268681153416"><a name="dis_01_0602__li40268681153416"></a><a name="li40268681153416"></a>Click <strong id="dis_01_0602__b842352706101132">Add</strong>. The <span class="wintitle" id="dis_01_0602__wintitle947219353202"><b>Add JRE</b></span> dialog box is displayed. <div class="fignone" id="dis_01_0602__fig2154153153416"><span class="figcap"><b>Figure 3 </b>JRE Type</span><br><span><img id="dis_01_0602__image22608971153416" src="en-us_image_0120206155.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li><li id="dis_01_0602__li15674381153416">Select a JRE type and click <strong id="dis_01_0602__b153821111217">Next</strong>.<div class="fignone" id="dis_01_0602__fig62331347153416"><span class="figcap"><b>Figure 4 </b>JRE Definition</span><br><span><img id="dis_01_0602__image29295326153416" src="en-us_image_0120206008.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li><li id="dis_01_0602__li6851708153416"><a name="dis_01_0602__li6851708153416"></a><a name="li6851708153416"></a>Configure the basic information about JDK and click <strong id="dis_01_0602__b18713475215">Finish</strong>.<ul id="dis_01_0602__ul58229260153416"><li id="dis_01_0602__li18117474153416">JRE home: JDK installation path.</li><li id="dis_01_0602__li28839539153416">Default VM arguments: JDK running parameters.</li></ul>
|
||||
</li></ol>
|
||||
</li></ol>
|
||||
</p></li><li id="dis_01_0602__li17211251113218"><span>Download resource packages.</span><p><p id="dis_01_0602__p17175858123216">Download the DIS SDK from <a href="https://dis.obs.eu-de.otc.t-systems.com/dis/download/dis-sdk-1.2.3.zip" target="_blank" rel="noopener noreferrer">https://dis.obs.eu-de.otc.t-systems.com/dis/download/dis-sdk-1.2.3.zip</a> and its integrity check file from <a href="https://dis.obs.eu-de.otctest.t-systems.com/dis/download/dis-sdk-1.2.3.zip.sha256sum" target="_blank" rel="noopener noreferrer">https://dis.obs.eu-de.otctest.t-systems.com/dis/download/dis-sdk-1.2.3.zip.sha256sum</a>.</p>
|
||||
</p></li><li id="dis_01_0602__le2a3cf8a367549798404bbcf1cf7ea15"><span>Import the Eclipse project.</span><p><ol type="a" id="dis_01_0602__o09dc93a9c5694e4eabe12ca18cb2d199"><li id="dis_01_0602__l99736f2e4f434b36b4feef5a96d43f1b">Start Eclipse. Choose <strong id="dis_01_0602__b1444157724">File</strong> > <strong id="dis_01_0602__b270631392">Import</strong>. The <strong id="dis_01_0602__b1465747853">Import</strong> dialog box is displayed.</li></ol><ol type="a" start="2" id="dis_01_0602__o48f7ccdb3db1480cb52aa4bd47e2ec9c"><li id="dis_01_0602__l1403bea7f19048d382c18d734e6261d7">Choose <strong id="dis_01_0602__b195501321134219">General</strong> > <strong id="dis_01_0602__b17174202713422">Existing Projects into Workspace</strong> and click <strong id="dis_01_0602__b132021032124216">Next</strong>. The <strong id="dis_01_0602__b13676163924212">Import</strong> dialog box is displayed.</li><li id="dis_01_0602__l02019edd289d44c19d4d3ad62eec78f9">Click <span class="uicontrol" id="dis_01_0602__uicontrol118319817246"><b>Browse</b></span> and select a save location for the <strong id="dis_01_0602__b151834812243">dis-sdk-demo</strong> sample project. In the <strong id="dis_01_0602__b10185118182412">Projects</strong> area, select a sample project.<div class="fignone" id="dis_01_0602__f23cd224614d04888bfa7c759107662f3"><span class="figcap"><b>Figure 5 </b>Importing a project</span><br><span><img id="dis_01_0602__idcec954a169d4bc2b6122678f2dd46e0" src="en-us_image_0000001222417242.png"></span></div>
|
||||
</li><li id="dis_01_0602__l2452f0057dc54df6ab09179f6d33c01b">Click <strong id="dis_01_0602__b895558220">Finish</strong>.</li></ol>
|
||||
</p></li><li id="dis_01_0602__le2a3cf8a367549798404bbcf1cf7ea15"><span>Import the Eclipse project.</span><p><ol type="a" id="dis_01_0602__o09dc93a9c5694e4eabe12ca18cb2d199"><li id="dis_01_0602__l99736f2e4f434b36b4feef5a96d43f1b">Start Eclipse. Choose <strong id="dis_01_0602__b21218030">File</strong> > <strong id="dis_01_0602__b1252556736">Import</strong>. The <strong id="dis_01_0602__b532006888">Import</strong> dialog box is displayed.</li></ol><ol type="a" start="2" id="dis_01_0602__o48f7ccdb3db1480cb52aa4bd47e2ec9c"><li id="dis_01_0602__l1403bea7f19048d382c18d734e6261d7">Choose <strong id="dis_01_0602__b195501321134219">General</strong> > <strong id="dis_01_0602__b17174202713422">Existing Projects into Workspace</strong> and click <strong id="dis_01_0602__b132021032124216">Next</strong>. The <strong id="dis_01_0602__b13676163924212">Import</strong> dialog box is displayed.</li><li id="dis_01_0602__l02019edd289d44c19d4d3ad62eec78f9">Click <span class="uicontrol" id="dis_01_0602__uicontrol118319817246"><b>Browse</b></span> and select a save location for the <strong id="dis_01_0602__b151834812243">dis-sdk-demo</strong> sample project. In the <strong id="dis_01_0602__b10185118182412">Projects</strong> area, select a sample project.<div class="fignone" id="dis_01_0602__f23cd224614d04888bfa7c759107662f3"><span class="figcap"><b>Figure 5 </b>Importing a project</span><br><span><img id="dis_01_0602__idcec954a169d4bc2b6122678f2dd46e0" src="en-us_image_0151034370.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li><li id="dis_01_0602__l2452f0057dc54df6ab09179f6d33c01b">Click <strong id="dis_01_0602__b669649622">Finish</strong>.</li></ol>
|
||||
</p></li><li id="dis_01_0602__li52111729235"><span>Configure the demo project.</span><p><ol type="a" id="dis_01_0602__ol10242182182315"><li id="dis_01_0602__li32426216234">Set the project code to <strong id="dis_01_0602__b98121317162514">UTF-8</strong>.<ol class="substepthirdol" id="dis_01_0602__ol424202152314"><li id="dis_01_0602__li224214212314">In the navigation tree, right-click the required project under <strong id="dis_01_0602__b3902835192620">Project Explorer</strong> and choose <strong id="dis_01_0602__b7922174162616">Properties</strong> from the shortcut menu. The <strong id="dis_01_0602__b202905720214337">Properties for dis-sdk-demo</strong> dialog box is displayed.</li><li id="dis_01_0602__li12242102102318">In the navigation tree, choose <strong id="dis_01_0602__b1455116372279">Resource</strong>. The <strong id="dis_01_0602__b187018520143311">Resource</strong> page is displayed in the right pane.</li><li id="dis_01_0602__li1724211212236">In the <strong id="dis_01_0602__b39781423192817">Other</strong> drop-down list, select <strong id="dis_01_0602__b164681354162911">UTF-8</strong>.</li><li id="dis_01_0602__li9242162112312">Click <strong id="dis_01_0602__b544011192304">Apply and Close</strong>.</li></ol>
|
||||
</li><li id="dis_01_0602__li192421242310">Import a dependency package.<ol class="substepthirdol" id="dis_01_0602__ol1824217220233"><li id="dis_01_0602__li1624210214238">In the navigation pane, choose <strong id="dis_01_0602__en-us_topic_0068150545_b61466687193828">Project Explorer</strong>. Right-click the chosen project and choose <strong id="dis_01_0602__en-us_topic_0068150545_b42534505151423">Properties</strong> from the shortcut menu.</li><li id="dis_01_0602__li102428216239">In the navigation tree, choose <strong id="dis_01_0602__b168952101312">Java Build Path</strong>. The <strong id="dis_01_0602__b1728104238143337">Java Build Path</strong> page is displayed in the right pane.</li><li id="dis_01_0602__li7242225231">Click the <strong id="dis_01_0602__b05221756183114">Libraries</strong> tab, and then click <strong id="dis_01_0602__b1225074163219">Add External JARs</strong>. The <strong id="dis_01_0602__b1075049741143353">JAR Selection</strong> dialog box is displayed.</li><li id="dis_01_0602__li82427252318">Select the directory where the <strong id="dis_01_0602__b39182511010">dis-sdk</strong> folder is located and click <strong id="dis_01_0602__b443918415592">Open</strong>.</li><li id="dis_01_0602__li024215242312">On the <strong id="dis_01_0602__b203175307331">Properties for dis-sdk-demo</strong> page, click <strong id="dis_01_0602__b14259113416338">Apply and Close</strong> to import all the <strong id="dis_01_0602__b13250175014335">.jar</strong> files in the current path and the <strong id="dis_01_0602__b659481173413">third_lib</strong> folder to the project.</li></ol>
|
||||
<div class="fignone" id="dis_01_0602__fig1824213232316"><span class="figcap"><b>Figure 6 </b>Java Build Path</span><br><span><img id="dis_01_0602__image12421292312" src="en-us_image_0000001222097282.png"></span></div>
|
||||
<div class="fignone" id="dis_01_0602__fig1824213232316"><span class="figcap"><b>Figure 6 </b>Java Build Path</span><br><span><img id="dis_01_0602__image12421292312" src="en-us_image_0086571410.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li><li id="dis_01_0602__li72427272316">Add the JDK.<ol class="substepthirdol" id="dis_01_0602__ol1242152192318"><li id="dis_01_0602__li92427282316">In the navigation pane, choose <strong id="dis_01_0602__en-us_topic_0068150545_b61466687193828_1">Project Explorer</strong>. Right-click the chosen project and choose <strong id="dis_01_0602__en-us_topic_0068150545_b42534505151423_1">Properties</strong> from the shortcut menu.</li><li id="dis_01_0602__li324210232311">In the navigation tree, choose <strong id="dis_01_0602__b878664280">Java Build Path</strong>. The <strong id="dis_01_0602__b838950758">Java Build Path</strong> page is displayed in the right pane.</li><li id="dis_01_0602__li1424219292320">Click the <strong id="dis_01_0602__b60591108143444">Libraries</strong> tab, and then click <strong id="dis_01_0602__b495451434143444">Add Library</strong>. The <strong id="dis_01_0602__b1983410870143450">Add Library</strong> dialog box is displayed.</li><li id="dis_01_0602__li1224210219233">Select <strong id="dis_01_0602__b101415163714">JRE System Library</strong> and click <strong id="dis_01_0602__b10442182263714">Next</strong>. Verify that the version of <strong id="dis_01_0602__b75988889414350">Workspace default JRE</strong> is <strong id="dis_01_0602__b112955499714350">jdk1.8</strong> or later.</li><li id="dis_01_0602__li524210262320">Click <strong id="dis_01_0602__b774210223815">Finish</strong> to exit the <strong id="dis_01_0602__b9362378383">Add Library</strong> dialog box.</li><li id="dis_01_0602__li42423232310">Click <strong id="dis_01_0602__b12638516153810">Apply and Close</strong>.</li></ol>
|
||||
</li></ol>
|
||||
</p></li><li id="dis_01_0602__li29083993"><span>Initialize a DIS client sample. For details about <span class="parmname" id="dis_01_0602__parmname4156049214369"><b>endpoint</b></span>, <span class="parmname" id="dis_01_0602__parmname3850011514369"><b>ak</b></span>, <span class="parmname" id="dis_01_0602__parmname1095672314369"><b>sk</b></span>, <span class="parmname" id="dis_01_0602__parmname3150164314369"><b>region</b></span>, and <span class="parmname" id="dis_01_0602__parmname1507933314369"><b>projectId</b></span>, see <a href="dis_01_0043.html">Obtaining Authentication Information</a>.</span></li></ol>
|
||||
@ -29,3 +29,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script language="JavaScript">
|
||||
<!--
|
||||
image_size('.imgResize');
|
||||
var msg_imageMax = "view original image";
|
||||
var msg_imageClose = "close";
|
||||
//--></script>
|
@ -6,9 +6,9 @@
|
||||
<p id="dis_01_0603__p3847202715366">The maximum number of days for DIS to preserve data cannot exceed <span class="parmname" id="dis_01_0603__parmname13280431062"><b>Data Retention (days)</b></span>.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0603__section16336406"><h4 class="sectiontitle">Sample Code</h4><p id="dis_01_0603__p26355502007">The example code file is the <strong id="dis_01_0603__b1686019255111">ProducerDemo.java</strong> file in the <span class="filepath" id="dis_01_0603__filepath42186216193820"><b>\dis-sdk-demo\src\main\java\com\bigdata\dis\sdk\demo</b></span> directory decompressed from the <strong id="dis_01_0603__b18695210114216">dis-sdk-1.2.3.zip</strong> package. The compression package is downloaded in <a href="dis_01_0602.html">Step 2: Preparing a DIS Application Development Environment</a>.</p>
|
||||
<div class="section" id="dis_01_0603__section16336406"><h4 class="sectiontitle">Sample Code</h4><p id="dis_01_0603__p26355502007">The example code file is the <strong id="dis_01_0603__b1158645883810">ProducerDemo.java</strong> file in the <span class="filepath" id="dis_01_0603__filepath559255812381"><b>\dis-sdk-demo\src\main\java\com\bigdata\dis\sdk\demo</b></span> directory decompressed from the <strong id="dis_01_0603__b1959395803817">dis-sdk-1.2.3.zip</strong> package. The compression package is downloaded from the <a href="https://dis-publish.obs-website.cn-north-1.myhuaweicloud.com/" target="_blank" rel="noopener noreferrer">DIS SDK</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0603__section12809933"><h4 class="sectiontitle">Running the Producer Program</h4><div class="p" id="dis_01_0603__p52065338141422">Right-click the producer application and choose <strong id="dis_01_0603__b12905184720139">Run As</strong> > <strong id="dis_01_0603__b828113516131">1 Java Application</strong> from the shortcut menu.<div class="fignone" id="dis_01_0603__fig15069943162017"><span class="figcap"><b>Figure 1 </b>Running a producer application</span><br><span><img id="dis_01_0603__image31665688" src="en-us_image_0000001266977421.png"></span></div>
|
||||
<div class="section" id="dis_01_0603__section12809933"><h4 class="sectiontitle">Running the Producer Program</h4><div class="p" id="dis_01_0603__p52065338141422">Right-click the producer application and choose <strong id="dis_01_0603__b12905184720139">Run As</strong> > <strong id="dis_01_0603__b828113516131">1 Java Application</strong> from the shortcut menu.<div class="fignone" id="dis_01_0603__fig15069943162017"><span class="figcap"><b>Figure 1 </b>Running a producer application</span><br><span><img id="dis_01_0603__image31665688" src="en-us_image_0068150349.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</div>
|
||||
<p id="dis_01_0603__p6393081511391"></p>
|
||||
<div class="litext" id="dis_01_0603__p14783937">While data is being sent to DIS, the DIS console displays DIS stream information. If information similar to the following is displayed, the data has been successfully sent to DIS:<pre class="screen" id="dis_01_0603__screen14890832202548">14:40:20.090 [main] INFOcom.bigdata.dis.sdk.DISConfig - get from classLoader
|
||||
@ -29,3 +29,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script language="JavaScript">
|
||||
<!--
|
||||
image_size('.imgResize');
|
||||
var msg_imageMax = "view original image";
|
||||
var msg_imageClose = "close";
|
||||
//--></script>
|
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Step 4: Obtaining Data from DIS</h1>
|
||||
<div id="body1493022272990"><div class="section" id="dis_01_0604__section33008913"><h4 class="sectiontitle">Function</h4><p id="dis_01_0604__p25879650">You can retrieve data from DIS when needed.</p>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0604__section28644761"><h4 class="sectiontitle">Sample Code</h4><p id="dis_01_0604__p6601245320226">The example code file is the <strong id="dis_01_0604__b814132119529">ConsumerDemo.java</strong> file in the <span class="filepath" id="dis_01_0604__filepath615162135214"><b>\dis-sdk-demo\src\main\java\com\bigdata\dis\sdk\demo</b></span> directory decompressed from the <strong id="dis_01_0604__b342545404412">dis-sdk-XXX.zip</strong> package. The compression package is downloaded in <a href="dis_01_0602.html">Step 2: Preparing a DIS Application Development Environment</a>.</p>
|
||||
<div class="section" id="dis_01_0604__section28644761"><h4 class="sectiontitle">Sample Code</h4><p id="dis_01_0604__p6601245320226">The example code file is the <strong id="dis_01_0604__b14840103710404">ConsumerDemo.java</strong> file in the <strong id="dis_01_0604__b12841153717402">\dis-sdk-demo\src\main\java\com\bigdata\dis\sdk\demo</strong> directory decompressed from the <strong id="dis_01_0604__b2841237104012">dis-sdk-XXX.zip</strong> package. The compression package is downloaded from the <a href="https://dis-publish.obs-website.cn-north-1.myhuaweicloud.com/" target="_blank" rel="noopener noreferrer">DIS SDK</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0604__section56476259"><h4 class="sectiontitle">Running the Consumer Application</h4><p class="litext" id="dis_01_0604__p40311937">If information similar to the following appears, data has been successfully retrieved from DIS:</p>
|
||||
<pre class="screen" id="dis_01_0604__screen27263117">14:55:42.954 [main] INFOcom.bigdata.dis.sdk.DISConfig - get from classLoader
|
||||
|
@ -3,8 +3,8 @@
|
||||
<h1 class="topictitle1">Creating an IAM Agency</h1>
|
||||
<div id="body1512182647019"><div class="section" id="dis_01_0605__section15746595104641"><h4 class="sectiontitle">Introduction</h4><p id="dis_01_0605__p18776011348">If you choose to dump data from DIS to OBS, create an IAM agency that grants DIS permissions to access OBS.</p>
|
||||
</div>
|
||||
<div class="section" id="dis_01_0605__section25838076111910"><h4 class="sectiontitle">Creating an IAM Agency</h4><ol id="dis_01_0605__ol12509378111910"><li id="dis_01_0605__li45475542111910"><span>Log in to the management console.</span></li><li id="dis_01_0605__li6626697111910"><span>Click <strong id="dis_01_0605__b5195173919553">Service List</strong>. Under <strong id="dis_01_0605__b6771174445512">Management & Deployment</strong>, select <strong id="dis_01_0605__b71631010135616">Identify and Access Management</strong>.</span></li><li id="dis_01_0605__li59640276111910"><span>Select <strong id="dis_01_0605__b10828326165718">Agencies</strong> in the navigation tree pane, and click <strong id="dis_01_0605__b11631174675715">Create Agency</strong>.</span><p><div class="fignone" id="dis_01_0605__fig165014586333"><span class="figcap"><b>Figure 1 </b>Creating an IAM agency</span><br><span><img id="dis_01_0605__image20650195823316" src="en-us_image_0000001266897473.jpg"></span></div>
|
||||
</p></li><li id="dis_01_0605__li67000440111910"><span>Configure agency parameters and click <strong id="dis_01_0605__b33037246584">OK</strong>. </span><p><div class="fignone" id="dis_01_0605__fig1498012571344"><span class="figcap"><b>Figure 2 </b>Configuring agency parameters</span><br><span><img id="dis_01_0605__image18980165717341" src="en-us_image_0000001266777501.jpg"></span></div>
|
||||
<div class="section" id="dis_01_0605__section25838076111910"><h4 class="sectiontitle">Creating an IAM Agency</h4><ol id="dis_01_0605__ol12509378111910"><li id="dis_01_0605__li45475542111910"><span>Log in to the management console.</span></li><li id="dis_01_0605__li6626697111910"><span>Click <strong id="dis_01_0605__b5195173919553">Service List</strong>. Under <strong id="dis_01_0605__b6771174445512">Management & Deployment</strong>, select <strong id="dis_01_0605__b71631010135616">Identify and Access Management</strong>.</span></li><li id="dis_01_0605__li59640276111910"><span>Select <strong id="dis_01_0605__b10828326165718">Agencies</strong> in the navigation tree pane, and click <strong id="dis_01_0605__b11631174675715">Create Agency</strong>.</span><p><div class="fignone" id="dis_01_0605__fig165014586333"><span class="figcap"><b>Figure 1 </b>Creating an IAM agency</span><br><span><img id="dis_01_0605__image20650195823316" src="en-us_image_0124319023.jpg" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</p></li><li id="dis_01_0605__li67000440111910"><span>Configure agency parameters and click <strong id="dis_01_0605__b33037246584">OK</strong>. </span><p><div class="fignone" id="dis_01_0605__fig1498012571344"><span class="figcap"><b>Figure 2 </b>Configuring agency parameters</span><br><span><img id="dis_01_0605__image18980165717341" src="en-us_image_0124319248.jpg" title="Click to enlarge" class="imgResize"></span></div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dis_01_0605__table66133055111910" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Agency parameters</caption><thead align="left"><tr id="dis_01_0605__row32490906111910"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.2.2.4.2.2.2.3.1.1"><p id="dis_01_0605__p14517702111910">Parameter</p>
|
||||
</th>
|
||||
@ -61,3 +61,10 @@ Policy: Tenant Administrator</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script language="JavaScript">
|
||||
<!--
|
||||
image_size('.imgResize');
|
||||
var msg_imageMax = "view original image";
|
||||
var msg_imageClose = "close";
|
||||
//--></script>
|
@ -1,7 +1,7 @@
|
||||
<a name="dis_06_0012"></a><a name="dis_06_0012"></a>
|
||||
|
||||
<h1 class="topictitle1">Preparing the Environment</h1>
|
||||
<div id="body32001227"><ul id="dis_06_0012__en-us_topic_0080205339_ul53048087"><li id="dis_06_0012__ld6c753520fe841298378461c9d5018b8">Download JDK1.8 or a later version from the <a href="http://www.oracle.com/technetwork/java/archive-139210.html" target="_blank" rel="noopener noreferrer">Oracle official website</a> and install it, and configure Java environment variables.</li><li id="dis_06_0012__le6cc4c40a0844318bdb6272419b794ae">Download Eclipse IDE for Java Developers of the latest version from the <a href="http://www.eclipse.org/downloads/eclipse-packages/" target="_blank" rel="noopener noreferrer">Eclipse's official website</a>, and install it.</li><li id="dis_06_0012__l5024ecdf9b3f4bf383daf1adef18f4d5">Configure the JDK in Eclipse.</li></ul>
|
||||
<div id="body8662426"><ul id="dis_06_0012__en-us_topic_0080205339_ul53048087"><li id="dis_06_0012__ld6c753520fe841298378461c9d5018b8">Download JDK1.8 or a later version from the <a href="http://www.oracle.com/technetwork/java/archive-139210.html" target="_blank" rel="noopener noreferrer">Oracle official website</a>, install it and configure Java environment variables.</li><li id="dis_06_0012__le6cc4c40a0844318bdb6272419b794ae">Download the latest version of Eclipse IDE for Java Developers from the <a href="http://www.eclipse.org/downloads/eclipse-packages/" target="_blank" rel="noopener noreferrer">Eclipse's official website</a> and install it.</li><li id="dis_06_0012__l5024ecdf9b3f4bf383daf1adef18f4d5">Configure the JDK in Eclipse.</li></ul>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<a name="dis_06_0013"></a><a name="dis_06_0013"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring Sample Projects</h1>
|
||||
<div id="body1533030007809"><p id="dis_06_0013__en-us_topic_0080238915_p6757235">The <strong id="dis_06_0013__b188188261385">dis-sdk-</strong><em id="dis_06_0013__abadbdd5c3e1246bfa28611798b088f03">1.2.3</em><strong id="dis_06_0013__b11852324133812">.zip</strong> package of the latest version in <a href="dis_06_0005.html">Downloading SDKs</a> provides a sample project. You can use a development tool (such as Eclipse) on the local server to compile and run the sample project. You can also develop your applications based on the sample project. The sample project code is available in the <span class="filepath" id="dis_06_0013__fe2dfd19312124bebb9eff06863312db3"><b>\dis-sdk-demo\src\com\bigdata\dis\sdk\demo</b></span> directory.</p>
|
||||
<div id="body1533030007809"><p id="dis_06_0013__en-us_topic_0080238915_p6757235">Download the <strong id="dis_06_0013__b188188261385">dis-sdk-</strong><em id="dis_06_0013__abadbdd5c3e1246bfa28611798b088f03">1.2.3</em><strong id="dis_06_0013__b11852324133812">.zip</strong> package from the URL noted in section <a href="dis_06_0005.html">Downloading SDKs</a>. The package provides a sample project. You can use a development tool (such as Eclipse) on the local server to compile and run the sample project. You can also develop your applications based on the sample project. The sample project code is available in the <span class="filepath" id="dis_06_0013__fe2dfd19312124bebb9eff06863312db3"><b>\dis-sdk-demo\src\com\bigdata\dis\sdk\demo</b></span> directory.</p>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dis_06_0013__tc215b03c95f74cd6bfc9dc15d92828db" frame="border" border="1" rules="all"><thead align="left"><tr id="dis_06_0013__rd69774e99a0f4466b942650611b35a7a"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.1.3.1.1"><p id="dis_06_0013__a7fea6931ea244a01a963af05b7c5832a"><strong id="dis_06_0013__b480915117257">Sample Code</strong></p>
|
||||
</th>
|
||||
@ -22,12 +22,12 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="section" id="dis_06_0013__sbb9f4576db8d4e1cb6cbf4fd29fb30a7"><h4 class="sectiontitle">Procedure</h4><ol id="dis_06_0013__of0ef33fca1364e25bf3f68554e31701a"><li id="dis_06_0013__l4f362a9793b148558a5248e75d41d5fc"><span>Decompress the <strong id="dis_06_0013__b71001737114116">dis-sdk-</strong><em id="dis_06_0013__a0dde6294829f4249830ee03b768290c5">1.2.3</em><strong id="dis_06_0013__b160193910412">.zip</strong> package obtained in <a href="dis_06_0005.html">Downloading SDKs</a> to obtain the <strong id="dis_06_0013__b1365455219417">dis-sdk-demo</strong> package and sample project.</span></li><li id="dis_06_0013__le2a3cf8a367549798404bbcf1cf7ea15"><span>Import the Eclipse project.</span><p><ol type="a" id="dis_06_0013__o09dc93a9c5694e4eabe12ca18cb2d199"><li id="dis_06_0013__l99736f2e4f434b36b4feef5a96d43f1b">Start Eclipse and choose <strong id="dis_06_0013__b134591907424">File</strong> > <strong id="dis_06_0013__b64651034215">Import</strong>. The <strong id="dis_06_0013__b8465506421">Import</strong> dialog box is displayed.</li></ol><ol type="a" start="2" id="dis_06_0013__o48f7ccdb3db1480cb52aa4bd47e2ec9c"><li id="dis_06_0013__l1403bea7f19048d382c18d734e6261d7">Choose <strong id="dis_06_0013__b7844104174210">General</strong> > <strong id="dis_06_0013__b4844164184219">Existing Projects into Workspace</strong> and click <strong id="dis_06_0013__b1384474154211">Next</strong>. The <strong id="dis_06_0013__b68450410428">Import</strong> dialog box is displayed.</li><li id="dis_06_0013__l02019edd289d44c19d4d3ad62eec78f9">Click <span class="uicontrol" id="dis_06_0013__uicontrol752541712421"><b>Browse</b></span> and select a save location for the <strong id="dis_06_0013__b135261517164218">dis-sdk-demo</strong> sample project. In the <strong id="dis_06_0013__b16526717114216">Projects</strong> area, select a sample project, as shown in <a href="#dis_06_0013__f23cd224614d04888bfa7c759107662f3">Figure 1</a>.<div class="fignone" id="dis_06_0013__f23cd224614d04888bfa7c759107662f3"><a name="dis_06_0013__f23cd224614d04888bfa7c759107662f3"></a><a name="f23cd224614d04888bfa7c759107662f3"></a><span class="figcap"><b>Figure 1 </b>Import Projects</span><br><span><img id="dis_06_0013__idcec954a169d4bc2b6122678f2dd46e0" src="en-us_image_0000001222097302.png"></span></div>
|
||||
<div class="section" id="dis_06_0013__sbb9f4576db8d4e1cb6cbf4fd29fb30a7"><h4 class="sectiontitle">Procedure</h4><ol id="dis_06_0013__of0ef33fca1364e25bf3f68554e31701a"><li id="dis_06_0013__l4f362a9793b148558a5248e75d41d5fc"><span>Decompress the <strong id="dis_06_0013__b71001737114116">dis-sdk-</strong><em id="dis_06_0013__a0dde6294829f4249830ee03b768290c5">1.2.3</em><strong id="dis_06_0013__b160193910412">.zip</strong> package obtained in <a href="dis_06_0005.html">Downloading SDKs</a> to obtain the <strong id="dis_06_0013__b1365455219417">dis-sdk-demo</strong> package and sample project.</span></li><li id="dis_06_0013__le2a3cf8a367549798404bbcf1cf7ea15"><span>Import the Eclipse project.</span><p><ol type="a" id="dis_06_0013__o09dc93a9c5694e4eabe12ca18cb2d199"><li id="dis_06_0013__l99736f2e4f434b36b4feef5a96d43f1b">Start Eclipse and choose <strong id="dis_06_0013__b134591907424">File</strong> > <strong id="dis_06_0013__b64651034215">Import</strong>. The <strong id="dis_06_0013__b8465506421">Import</strong> dialog box is displayed.</li></ol><ol type="a" start="2" id="dis_06_0013__o48f7ccdb3db1480cb52aa4bd47e2ec9c"><li id="dis_06_0013__l1403bea7f19048d382c18d734e6261d7">Choose <strong id="dis_06_0013__b7844104174210">General</strong> > <strong id="dis_06_0013__b4844164184219">Existing Projects into Workspace</strong> and click <strong id="dis_06_0013__b1384474154211">Next</strong>. The <strong id="dis_06_0013__b68450410428">Import</strong> dialog box is displayed.</li><li id="dis_06_0013__l02019edd289d44c19d4d3ad62eec78f9">Click <span class="uicontrol" id="dis_06_0013__uicontrol752541712421"><b>Browse</b></span> and select a save location for the <strong id="dis_06_0013__b135261517164218">dis-sdk-demo</strong> sample project. In the <strong id="dis_06_0013__b16526717114216">Projects</strong> area, select a sample project, as shown in <a href="#dis_06_0013__f23cd224614d04888bfa7c759107662f3">Figure 1</a>.<div class="fignone" id="dis_06_0013__f23cd224614d04888bfa7c759107662f3"><a name="dis_06_0013__f23cd224614d04888bfa7c759107662f3"></a><a name="f23cd224614d04888bfa7c759107662f3"></a><span class="figcap"><b>Figure 1 </b>Import Projects</span><br><span><img id="dis_06_0013__idcec954a169d4bc2b6122678f2dd46e0" src="en-us_image_0124306701.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li><li id="dis_06_0013__l2452f0057dc54df6ab09179f6d33c01b">Click <strong id="dis_06_0013__b1175155154212">Finish</strong> to import the project.</li></ol>
|
||||
</p></li><li id="dis_06_0013__l59c758db48dd4a3cb6ae4acc45da3770"><span>Configure the demo project.</span><p><ol type="a" id="dis_06_0013__o690ca3a7313041e7ac9364d180eb4e68"><li id="dis_06_0013__leebd401f88184556aeac13f4de339086">Set the project code to <strong id="dis_06_0013__b33851959184212">UTF-8</strong>.<ol class="substepthirdol" id="dis_06_0013__oe565dab314c64a62bba83b43375f925e"><li id="dis_06_0013__l1da3f5d4c7284c818888cfb8743a57f2">In the navigation tree, right-click the required project under <strong id="dis_06_0013__b1442119214316">Project Explorer</strong> and choose <strong id="dis_06_0013__b2421823438">Properties</strong> from the shortcut menu. The <strong id="dis_06_0013__b15422162184315">Properties for dis-sdk-demo</strong> dialog box is displayed.</li><li id="dis_06_0013__l6ad81700d1614c72aeb9aa84bbbd821b">In the navigation tree, choose <strong id="dis_06_0013__b18760191512433">Resource</strong>. The <strong id="dis_06_0013__b1176017158436">Resource</strong> page is displayed in the right pane.</li><li id="dis_06_0013__ld347bd9dffe64958a6370c219b0aa3f8">In the <strong id="dis_06_0013__b2547152017434">Other</strong> drop-down list, select <strong id="dis_06_0013__b1454732014313">UTF-8</strong>.</li><li id="dis_06_0013__l2d93bba0cc824838bd989f487364cd6f">Click <strong id="dis_06_0013__b169671148134312">Apply and Close</strong>.</li></ol>
|
||||
<div class="fignone" id="dis_06_0013__f900a3f9eeb6f455da8d7c3617005e7d9"><span class="figcap"><b>Figure 2 </b>Resource</span><br><span><img id="dis_06_0013__i1ea882cef40049bd872f5f521b970e06" src="en-us_image_0000001222417262.png"></span></div>
|
||||
<div class="fignone" id="dis_06_0013__f900a3f9eeb6f455da8d7c3617005e7d9"><span class="figcap"><b>Figure 2 </b>Resource</span><br><span><img id="dis_06_0013__image109220576383" src="en-us_image_0000001499513972.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li><li id="dis_06_0013__l0da9975510bb46fb8024586216620c5c">Import a JAR dependency package.<ol class="substepthirdol" id="dis_06_0013__o98f88d53513f409383ec59929ce96f2e"><li id="dis_06_0013__lca9255883ebf4a04b18f1620ce52d232">In the navigation tree, right-click the required project under <strong id="dis_06_0013__b1528565604313">Project Explorer</strong> and choose <strong id="dis_06_0013__b6285256174320">Properties</strong> from the shortcut menu. The <strong id="dis_06_0013__b1528520569436">Properties for dis-sdk-demo</strong> dialog box is displayed.</li><li id="dis_06_0013__l9cf749517c754ef29f974cbdcbe6ee68">In the navigation tree, choose <strong id="dis_06_0013__b1558164214440">Java Build Path</strong>. The <strong id="dis_06_0013__b159142204412">Java Build Path</strong> page is displayed in the right pane.</li><li id="dis_06_0013__lbe48b3536a8c4cdaa37d46ccb5a5062b">Click the <strong id="dis_06_0013__b4997204644416">Libraries</strong> tab, and then click <strong id="dis_06_0013__b199981146164415">Add External JARs</strong>. The <strong id="dis_06_0013__b299813468449">JAR Selection</strong> dialog box is displayed.</li><li id="dis_06_0013__lb48357d93a5d45be900bc45a9e874828">Select the location of the <strong id="dis_06_0013__b1383717463453">dis-sdk</strong> folder in the decompressed <strong id="dis_06_0013__b18260195724613">dis-sdk-</strong>1.2.3 file, and then click <strong id="dis_06_0013__b291302426">Open</strong>.</li><li id="dis_06_0013__l0562f612da5243d6afb2c7ae14062351">On the <strong id="dis_06_0013__b571412218483">Properties for dis-sdk-demo</strong> page, click <strong id="dis_06_0013__b1671515219481">Apply and Close</strong> to import all the <strong id="dis_06_0013__b67151921104818">.jar</strong> files in the current path and the <strong id="dis_06_0013__b6715122144810">third_lib</strong> folder to the project.</li></ol>
|
||||
<div class="fignone" id="dis_06_0013__fb9bf6f68bf7f4d468460fc75ad58f1ba"><span class="figcap"><b>Figure 3 </b>Java Build Path</span><br><span><img id="dis_06_0013__i1d3be345287f4533acbc54fa0a41de7e" src="en-us_image_0000001266977433.png"></span></div>
|
||||
<div class="fignone" id="dis_06_0013__fb9bf6f68bf7f4d468460fc75ad58f1ba"><span class="figcap"><b>Figure 3 </b>Java Build Path</span><br><span><img id="dis_06_0013__i1d3be345287f4533acbc54fa0a41de7e" src="en-us_image_0124306705.png" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li><li id="dis_06_0013__ld8e9296c9cec4bf4b1a31d519baf385f">Add the JDK.<ol class="substepthirdol" id="dis_06_0013__o850b95f683de483581a8385615530ba7"><li id="dis_06_0013__lb7a3b8b4f0b64c5b9d99f7f1f36f7cff">In the navigation tree, right-click the required project under <strong id="dis_06_0013__b1242775244216">Project Explorer</strong> and choose <strong id="dis_06_0013__b1342818521424">Properties</strong> from the shortcut menu. The <strong id="dis_06_0013__b1442875294216">Properties for dis-sdk-demo</strong> dialog box is displayed.</li><li id="dis_06_0013__l9c3b23c514b5401e8b3cd819a9232040">In the navigation tree, choose <strong id="dis_06_0013__b14455267436">Java Build Path</strong>. The <strong id="dis_06_0013__b18445826114311">Java Build Path</strong> page is displayed in the right pane.</li><li id="dis_06_0013__l65a13e90989746d1bb5114bc0df3c62a">Click the <strong id="dis_06_0013__b15184203210431">Libraries</strong> tab, and then click <strong id="dis_06_0013__b518473218439">Add Library</strong>. The <strong id="dis_06_0013__b1618433216439">Add Library</strong> dialog box is displayed.</li><li id="dis_06_0013__la78f0887cb8843b28abdc306690db449">Select <strong id="dis_06_0013__b13889104813434">JRE System Library</strong> and click <strong id="dis_06_0013__b58892048114315">Next</strong>. Verify that the version of <strong id="dis_06_0013__b1488914814314">Workspace default JRE</strong> is <strong id="dis_06_0013__b1688914844319">jdk1.8</strong> or later.</li><li id="dis_06_0013__l01c831cda40241afab85e53398794841">Click <strong id="dis_06_0013__b110145812436">Finish</strong> to exit the <strong id="dis_06_0013__b15015824310">Add Library</strong> dialog box.</li><li id="dis_06_0013__led4a60bda1154e9a8192c87f6117321a">Click <strong id="dis_06_0013__b13711684419">Apply and Close</strong>.</li></ol>
|
||||
</li></ol>
|
||||
</p></li></ol>
|
||||
@ -39,3 +39,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script language="JavaScript">
|
||||
<!--
|
||||
image_size('.imgResize');
|
||||
var msg_imageMax = "view original image";
|
||||
var msg_imageClose = "close";
|
||||
//--></script>
|
@ -1,7 +1,7 @@
|
||||
<a name="dis_06_0014"></a><a name="dis_06_0014"></a>
|
||||
|
||||
<h1 class="topictitle1">Importing Third-party Dependency Packages</h1>
|
||||
<div id="body32001227"><ol id="dis_06_0014__ob739fd891a5242cbb706c773a8fbc57b"><li id="dis_06_0014__ld8c7c446907a4f749896e5c02ce08c68"><span>In the navigation tree, click <strong id="dis_06_0014__abd7e6b6b85dd4e0abed68a7f87d6f764">Project Explorer</strong>, right-click a project and choose <span class="menucascade" id="dis_06_0014__m5cb62093880c40dd87fd2ce4983d833c"><b><span class="uicontrol" id="dis_06_0014__ub623a94c1d464cac924d6b6161225e4c">Properties > Java Build Path > Add External JARs</span></b></span>.</span></li><li id="dis_06_0014__lb9782d52bd0a4f6d9a846c6d26d1caaa"><span>Locate the directory containing the decompressed <span class="filepath" id="dis_06_0014__fee5939a75785420a885ec38ff403c4e3"><b>dis-sdk</b></span> folder, and import all the files with the extension <span class="filepath" id="dis_06_0014__f1f7cf08e45da446fa0b7d8405924f901"><b>JAR</b></span> in the current directory and the <span class="filepath" id="dis_06_0014__ff0be71efefa34b4bbaf1f20b675396cd"><b>third_party</b></span> folder to the project.</span></li></ol>
|
||||
<div id="body8662426"><ol id="dis_06_0014__ob739fd891a5242cbb706c773a8fbc57b"><li id="dis_06_0014__ld8c7c446907a4f749896e5c02ce08c68"><span>In the navigation tree, click <strong id="dis_06_0014__b161901429124113">Project Explorer</strong>, right-click a project and choose <span class="menucascade" id="dis_06_0014__menucascade6191132912419"><b><span class="uicontrol" id="dis_06_0014__uicontrol1119172974112">Properties > Java Build Path > Add External JARs</span></b></span>.</span></li><li id="dis_06_0014__lb9782d52bd0a4f6d9a846c6d26d1caaa"><span>Locate the directory containing the decompressed <span class="filepath" id="dis_06_0014__filepath114591332134117"><b>dis-sdk</b></span> folder and import all the files with the extension <span class="filepath" id="dis_06_0014__filepath11460232204118"><b>JAR</b></span> in the current directory and the <span class="filepath" id="dis_06_0014__filepath4460153220411"><b>third_party</b></span> folder to the project.</span></li></ol>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<a name="dis_06_0015"></a><a name="dis_06_0015"></a>
|
||||
|
||||
<h1 class="topictitle1">Initializing a DIS Client</h1>
|
||||
<div id="body8662426"><p id="dis_06_0015__en-us_topic_0080205348_p57883273">You can use either of the following methods to initialize a DIS SDK client instance: For details about <span class="parmname" id="dis_06_0015__p97019598fa824fa49141bef73318807a"><b>endpoint</b></span>, <span class="parmname" id="dis_06_0015__p15e1898061ba4ec2bc7d6a30b0e61bb3"><b>ak</b></span>, <span class="parmname" id="dis_06_0015__pffc7f35e9b764386968c6e2f36d7317e"><b>sk</b></span>, <span class="parmname" id="dis_06_0015__p7dd0b1b5052f4de3adda15788503af70"><b>region</b></span>, and <span class="parmname" id="dis_06_0015__p55dca01b58c74a9a957e8cc8d5f76f98"><b>projectId</b></span>, see <a href="dis_01_0043.html">Obtaining Authentication Information</a>.</p>
|
||||
<div id="body8662426"><p id="dis_06_0015__en-us_topic_0080205348_p57883273">You can use one of the following methods to initialize a DIS SDK client instance: For details about <span class="parmname" id="dis_06_0015__p97019598fa824fa49141bef73318807a"><b>endpoint</b></span>, <span class="parmname" id="dis_06_0015__p15e1898061ba4ec2bc7d6a30b0e61bb3"><b>ak</b></span>, <span class="parmname" id="dis_06_0015__pffc7f35e9b764386968c6e2f36d7317e"><b>sk</b></span>, <span class="parmname" id="dis_06_0015__p7dd0b1b5052f4de3adda15788503af70"><b>region</b></span>, and <span class="parmname" id="dis_06_0015__p55dca01b58c74a9a957e8cc8d5f76f98"><b>projectId</b></span>, see <a href="dis_01_0043.html">Obtaining Authentication Information</a>.</p>
|
||||
<ul id="dis_06_0015__en-us_topic_0080205348_ul51187411"><li id="dis_06_0015__l7333cc3fbe8f49218b78959d419ee743">Use the code to initialize the DIS SDK client instance. For details about the code example, see the <strong id="dis_06_0015__b280184717470">ProducerDemo.java</strong> file.<pre class="screen" id="dis_06_0015__s9fa84e380a974633bd911badbadb57e8">//Create a DIS client instance.
|
||||
DIS dic = DISClientBuilder.standard()
|
||||
.withEndpoint("https://ip:port")
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Creating a Stream</h1>
|
||||
<div id="body8662426"><p id="dis_06_0501__a88aeb481444a470aa9a41f96e9fb8683">Initialize a DIS client instance named <strong id="dis_06_0501__en-us_topic_0091881411_b842352706203654">dic</strong>. For details, see <a href="dis_06_0015.html">Initializing a DIS Client</a>.</p>
|
||||
<p id="dis_06_0501__a3bc163c608c94b84bed3dcae808bb9ca">When you use the DIS SDK to create a DIS stream, specify the stream name, number of partitions in the stream, and stream type.</p>
|
||||
<p id="dis_06_0501__a3bc163c608c94b84bed3dcae808bb9ca">When you use the DIS SDK to create a DIS stream, specify the stream name, number of partitions in the stream and stream type.</p>
|
||||
<p id="dis_06_0501__a889fa1f622414c949ed9589c6a3d42be"><strong id="dis_06_0501__en-us_topic_0091881411_b842352706161314">STREAM_TYPE_COMMON</strong> indicates a common stream, and <strong id="dis_06_0501__en-us_topic_0091881411_b842352706161328">STREAM_TYPE_ADVANCED</strong> indicates an advanced stream.</p>
|
||||
<pre class="screen" id="dis_06_0501__s632b585967874e5b87b2d336d9848ec5">//Configure the channel name.
|
||||
String streamName = "myStream";
|
||||
|
@ -1,7 +1,7 @@
|
||||
<a name="dis_06_0507"></a><a name="dis_06_0507"></a>
|
||||
|
||||
<h1 class="topictitle1">Uploading Files</h1>
|
||||
<div id="body8662426"><div class="section" id="dis_06_0507__se4e0c4cadf5e4c64b538a0b777349872"><h4 class="sectiontitle">Configuring a Stream for Uploading Real-Time Files</h4><p id="dis_06_0507__a4a79596d2f934a488bb687c5cd586af8">You must use the stream enabled to transmit real-time files. Here, <strong id="dis_06_0507__ac4e1c8b36bd7437e80ab2ece76255c04">fileUploadStream</strong> is used as an example.</p>
|
||||
<div id="body8662426"><div class="section" id="dis_06_0507__se4e0c4cadf5e4c64b538a0b777349872"><h4 class="sectiontitle">Configuring a Stream for Uploading Real-Time Files</h4><p id="dis_06_0507__a4a79596d2f934a488bb687c5cd586af8">You must use the enabled stream to transmit real-time files. Here, <strong id="dis_06_0507__ac4e1c8b36bd7437e80ab2ece76255c04">fileUploadStream</strong> is used as an example.</p>
|
||||
<p id="dis_06_0507__p35001183172235">The value of <strong id="dis_06_0507__en-us_topic_0080205351_b842352706192057">streamName</strong> must be the same as that of <strong id="dis_06_0507__en-us_topic_0080205351_b84235270619213">Stream Name</strong> configured in <a href="dis_01_0601.html">Step 1: Creating a DIS Stream</a>.</p>
|
||||
<pre class="screen" id="dis_06_0507__s1faab47b36e447da92b2f97dc050968e">//Configure the stream name.
|
||||
String streamName = "fileUploadStream";</pre>
|
||||
|
@ -1,15 +0,0 @@
|
||||
<a name="dis_faq_0000"></a><a name="dis_faq_0000"></a>
|
||||
|
||||
<h1 class="topictitle1">FAQs</h1>
|
||||
<div id="body1533089621280"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="dis_faq_0003.html">How Does DIS Send and Receive Data?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dis_faq_0007.html">What Is the Difference Between Storing Data into DIS and Dumping Data Elsewhere?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dis_faq_0009.html">How Do I Check Software Package Integrity?</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -1,11 +0,0 @@
|
||||
<a name="dis_faq_0003"></a><a name="dis_faq_0003"></a>
|
||||
|
||||
<h1 class="topictitle1">How Does DIS Send and Receive Data?</h1>
|
||||
<div id="body1533030267819"><ol id="dis_faq_0003__of598fb624cc6451ba828b5a81ced33f0"><li id="dis_faq_0003__ld1165f2285ac4c629feda037495b803b"><span>Create a DIS stream, and obtain your Access Key ID/Secret Access Key (AK/SK) from the Identity and Access Management (IAM) service.</span></li><li id="dis_faq_0003__li1025562211417"><span id="dis_faq_0003__p1752832515148">Download the package from <a href="https://dis.obs.eu-de.otc.t-systems.com/dis/download/dis-sdk-1.2.3.zip" target="_blank" rel="noopener noreferrer">https://dis.obs.eu-de.otc.t-systems.com/dis/download/dis-sdk-1.2.3.zip</a>.</span></li><li id="dis_faq_0003__l0c9b7f2cbbde4e0c8a0c78990f7d1a0f"><span>Create a project and configure the user AK/SK, endpoint, project ID, region, stream name, and partition quantity.</span></li><li id="dis_faq_0003__l1f223007f4b6445b9d44a9761592a35f"><span>After the configuration is completed, run the application to send data.</span></li><li id="dis_faq_0003__l4647b81051ec4f67a7d6f2a38c69666a"><span>Create a project and configure the user AK/SK, endpoint, project, region, stream name, partition ID, and startingSequenceNumber.</span></li><li id="dis_faq_0003__lade7b7737c4e4b899d814456ab3cb06d"><span>After the configuration is completed, run the application to receive data.</span></li></ol>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dis_faq_0000.html">FAQs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,42 +0,0 @@
|
||||
<a name="dis_faq_0007"></a><a name="dis_faq_0007"></a>
|
||||
|
||||
<h1 class="topictitle1">What Is the Difference Between Storing Data into DIS and Dumping Data Elsewhere?</h1>
|
||||
<div id="body1533030339041"><p id="dis_faq_0007__ab241b72c4db24b2292e052e8c3f628ad">After DIS is enabled, data is stored to DIS by default. After a dump task is added, the data can be dumped to other resources. <a href="#dis_faq_0007__tdc4c4ec0b2454cfeb8421d92412355e6">Table 1</a> describes the specific differences.</p>
|
||||
<ul id="dis_faq_0007__uc9568779e5674b82a4c49aea0ae8c1ff"><li id="dis_faq_0007__l7ce11c0f52ec4d489b6dac9e00714a05">Data is stored to DIS by default.</li><li id="dis_faq_0007__l415694f829b7441893cbf9c33a3ecbfa">If <span class="parmname" id="dis_faq_0007__p98683843f31146c5b6961defe83f9288"><b>Dump Destination</b></span> is set to <span class="parmvalue" id="dis_faq_0007__p1bdd769f66c44cf8ac3a7c863af6070c"><b>OBS</b></span>, data is stored in DIS and periodically imported to Object Storage Service (OBS).</li></ul>
|
||||
|
||||
<div class="tablenoborder"><a name="dis_faq_0007__tdc4c4ec0b2454cfeb8421d92412355e6"></a><a name="tdc4c4ec0b2454cfeb8421d92412355e6"></a><table cellpadding="4" cellspacing="0" summary="" id="dis_faq_0007__tdc4c4ec0b2454cfeb8421d92412355e6" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Difference between storing data into DIS and dumping data elsewhere</caption><thead align="left"><tr id="dis_faq_0007__ra5e764ab2e3c412f8de1da2b545dc2d2"><th align="left" class="cellrowborder" valign="top" width="49.91%" id="mcps1.3.3.2.3.1.1"><p id="dis_faq_0007__en-us_topic_0065509540_p191302521636">DIS Storage</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="50.09%" id="mcps1.3.3.2.3.1.2"><p id="dis_faq_0007__en-us_topic_0065509540_p60465551636">OBS Storage</p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="dis_faq_0007__r3d792835a81045cf8820184da52ef9c8"><td class="cellrowborder" valign="top" width="49.91%" headers="mcps1.3.3.2.3.1.1 "><p id="dis_faq_0007__en-us_topic_0065509540_p101109991636">You can store data into DIS without applying for storage resources.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50.09%" headers="mcps1.3.3.2.3.1.2 "><p id="dis_faq_0007__en-us_topic_0065509540_p136845631636">You must apply for OBS resources before dumping data to OBS.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_faq_0007__r36c63084fda14bd1b5f7a592e4b598c5"><td class="cellrowborder" valign="top" width="49.91%" headers="mcps1.3.3.2.3.1.1 "><p id="dis_faq_0007__en-us_topic_0065509540_p439351481636">No additional payment is required.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50.09%" headers="mcps1.3.3.2.3.1.2 "><p id="dis_faq_0007__en-us_topic_0065509540_p19772551636">Additional cost for the use of OBS. For details, see the OBS price details.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_faq_0007__rf058a4d0c9b84be3931c7805d217ea32"><td class="cellrowborder" valign="top" width="49.91%" headers="mcps1.3.3.2.3.1.1 "><p id="dis_faq_0007__en-us_topic_0065509540_p321332191636">Data is temporarily stored in DIS for up to 168 hours.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50.09%" headers="mcps1.3.3.2.3.1.2 "><p id="dis_faq_0007__a14448ac051514c68924ee1639a6969aa">Data is stored in OBS until your OBS bucket expires.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="dis_faq_0007__r32d7cd41e5524dd29e229ec366844ab9"><td class="cellrowborder" valign="top" width="49.91%" headers="mcps1.3.3.2.3.1.1 "><p id="dis_faq_0007__en-us_topic_0065509540_p655628081636">Data is stored only in DIS.</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50.09%" headers="mcps1.3.3.2.3.1.2 "><p id="dis_faq_0007__ae6148d573f8c427491bb58101c8f4914">Data is stored in DIS and periodically dumped to OBS.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dis_faq_0000.html">FAQs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,20 +0,0 @@
|
||||
<a name="dis_faq_0009"></a><a name="dis_faq_0009"></a>
|
||||
|
||||
<h1 class="topictitle1">How Do I Check Software Package Integrity?</h1>
|
||||
<div id="body1533030406256"><p id="dis_faq_0009__a43d11386131c4d239e9ddad7f18bd2e9">This section describes how to verify integrity of the DIS SDK software package on a Linux system by using a verification file.</p>
|
||||
<div class="section" id="dis_faq_0009__s4105765a7f484146a9d77cd7bf878754"><h4 class="sectiontitle">Prerequisites</h4><ul id="dis_faq_0009__u32a07c7391b04c0f98d3137a9440c96c"><li id="dis_faq_0009__ld8c70b04f2c044998f883514c3c74db5">The PuTTY tool is available.</li><li id="dis_faq_0009__l4f45ca375d9f4cd4aebeba00dc900c21">The WinSCP tool is available.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="dis_faq_0009__s2d0d3a107aab4159983abb5eece1b209"><h4 class="sectiontitle">Procedure</h4><ol id="dis_faq_0009__ofe1c9a4cc2714e77849a31c03c314331"><li id="dis_faq_0009__l9bab3d4ecdcc4d27b56538ac57bb1cdc"><span>Upload the DIS SDK software package <strong id="dis_faq_0009__aa54633c204a64c6c8b8ed3eca43b5194">dis-sdk-</strong><strong id="dis_faq_0009__a0d4b298695da49ea9ea585164f36befd">1.2.3</strong><strong id="dis_faq_0009__a187c0f0b07864674b7781411c995d5ef">.zip</strong> to any directory on the Linux system by using WinSCP.</span></li><li id="dis_faq_0009__l8c35f745b7e945219234467020564558"><a name="dis_faq_0009__l8c35f745b7e945219234467020564558"></a><a name="l8c35f745b7e945219234467020564558"></a><span>Log in to the Linux system by using PuTTY. In the directory in which <strong id="dis_faq_0009__en-us_topic_0092879628_b645971414329">dis-sdk-</strong><strong id="dis_faq_0009__ac8aeb0b6f2624c489d652b557e994818">1.2.3</strong><strong id="dis_faq_0009__a5daf47c7f40a4bd28b2b9cdc814064a8">.zip</strong> is stored, run the following command to obtain the verification code of the DIS SDK software package:</span><p><p id="dis_faq_0009__ae1da02c2fd894ec0bf998116feaebcd4"><i><b><span class="cmdname" style="font-family:Arial" id="dis_faq_0009__c108eff49dde848349a1d08c297706297">sha256sum dis-sdk-1.2.3.zip</span></b></i></p>
|
||||
<p id="dis_faq_0009__a772768d61b274265b12f1745926f9f0d">Example verification code:</p>
|
||||
<pre class="screen" id="dis_faq_0009__s759069e44a2543228107a952f8a978b6"># sha256sum dis-sdk-1.2.3.zip
|
||||
8be2c937e8d78b1a9b99777cee4e7131f8bf231de3f839cf214e7c5b5ba3c088 dis-sdk-1.2.3.zip</pre>
|
||||
</p></li><li id="dis_faq_0009__l540efbe884fe48d1abd64af14ab0473c"><span>Open the DIS SDK verification file <strong id="dis_faq_0009__a42a129e44a074dce9df7e0702c31c6e4">dis-sdk-</strong><strong id="dis_faq_0009__a83e5fc82ff7d442fa1822707c89a0814">1.2.3</strong><strong id="dis_faq_0009__aaf53b2ca48f64c3cb336e1b715e224a2">.zip.sha256sum</strong> and compare it with the verification code obtained in <a href="#dis_faq_0009__l8c35f745b7e945219234467020564558">2</a>.</span><p><ul id="dis_faq_0009__u228d870b32134a6693ea96113575d61b"><li id="dis_faq_0009__l0cc95504be924e8c9849e63bff0ff65f">If they are consistent, it indicates that the DIS SDK software package is not tampered with.</li><li id="dis_faq_0009__lcc35f7c52b334faf83bcd4031242af1d">If they are inconsistent, the DIS SDK software package is tampered with and you need to obtain an untampered package.</li></ul>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dis_faq_0000.html">FAQs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
Binary file not shown.
Before Width: | Height: | Size: 120 KiB |
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 120 KiB |
Binary file not shown.
Before Width: | Height: | Size: 43 KiB |
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user