{"componentChunkName":"component---src-templates-microservices-js","path":"/en/microservices/StreamingService/","result":{"data":{"markdownRemark":{"html":"<h2 id=\"streaming-service\"><a href=\"#streaming-service\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Streaming Service</h2>\n<p>Based on Spark Streaming distributed computing frame, GIS Cloud Suite can publish stream processing model as streaming services, and monitor/manage the streaming services.</p>\n<h3 id=\"publish-streaming-service\"><a href=\"#publish-streaming-service\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Publish Streaming Service</h3>\n<p>Please follow the steps below to publish streaming service:</p>\n<ol>\n<li>Open <strong>Service Management > Stream Processing</strong> on the left navigation bar, clicks on <strong>Streaming Service</strong>;</li>\n<li>Clicks on <strong>Publish Streaming Service</strong> on the top left of the page;</li>\n<li>\n<p>Fills out the information:</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/0a490309af33707ff39718b588565227/e8814/publishstreamingserviceen.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 840px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 25.238095238095237%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAFCAIAAADKYVtkAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAg0lEQVQY04XNTQ5CIQwEYA7jawv9Qw07YOtFvIvXtqImmmfit5iQMM2k3vsYY87ZWjMz9+qLqso/iZd45ZyRKFKYbSk78UsUrZe0vQHAM0W4Vv95XFggc/RgNRN8WJsuqn48iWgM7Y+RHYshcWx9HSMSwoHs3K63Oi6ccYMdREB6JMAdoqEyT4WHv2AAAAAASUVORK5CYII='); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"publishstreamingserviceen\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/0a490309af33707ff39718b588565227/1e088/publishstreamingserviceen.png\"\n        srcset=\"/iManager_K8S/1014/static/0a490309af33707ff39718b588565227/65ed1/publishstreamingserviceen.png 210w,\n/iManager_K8S/1014/static/0a490309af33707ff39718b588565227/d10fb/publishstreamingserviceen.png 420w,\n/iManager_K8S/1014/static/0a490309af33707ff39718b588565227/1e088/publishstreamingserviceen.png 840w,\n/iManager_K8S/1014/static/0a490309af33707ff39718b588565227/78612/publishstreamingserviceen.png 1260w,\n/iManager_K8S/1014/static/0a490309af33707ff39718b588565227/e8814/publishstreamingserviceen.png 1392w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<ul>\n<li>Name: The name of streaming service.</li>\n<li>Spark: Select Spark cluster. You can open built-in Spark in GIS Cloud Suite, or click on <strong>Add Spark</strong> to connect external Spark Cluster. Please refer to <a href=\"../AddSparkCluster/\">Computing Resources > Spark Cluster > Add Spark Cluster</a>.</li>\n<li>Stream Processing Model: Select a stream processing model to publish. If you select <strong>Custom Configuration</strong>, fill in the configuration information in <strong>Stream Processing Model Configuration</strong>, refer to <a href=\"https://help.supermap.com/iServer/zh/tutorial/iS/use_iserver/usedataflow/write_streaming_model/\" target=\"_blank\">SuperMap iServer Documentation</a> for more details. If you do not have a stream processing model, click on <strong>Add Stream Processing Model</strong> to edit a model.</li>\n</ul>\n</li>\n<li>Clicks on <strong>Publish</strong>.</li>\n</ol>\n<h3 id=\"streaming-service-management\"><a href=\"#streaming-service-management\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Streaming Service Management</h3>\n<p>The published Streaming Services will be listed on the Streaming Service page.</p>\n<h4 id=\"service-management\"><a href=\"#service-management\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Service Management</h4>\n<p>Use the functions below to manage the services:</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/88ae08720e89fc8e96b66905e6a90b88/b5cea/streamingmanagementen.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 840px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 10.476190476190476%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAACCAIAAADXZGvcAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAWUlEQVQI1x2L2xGAMAzD2KVNneZVAmX/1QjoS76TD2Ze6zSzkimSmTI/Mq+9n0LV/mZFBMB73xGLf45BBPFhVx/ovZl7PVtr4eHuAIioJk+oagksIUEziPUF3C8T5SJn9oMAAAAASUVORK5CYII='); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"streamingmanagementen\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/88ae08720e89fc8e96b66905e6a90b88/1e088/streamingmanagementen.png\"\n        srcset=\"/iManager_K8S/1014/static/88ae08720e89fc8e96b66905e6a90b88/65ed1/streamingmanagementen.png 210w,\n/iManager_K8S/1014/static/88ae08720e89fc8e96b66905e6a90b88/d10fb/streamingmanagementen.png 420w,\n/iManager_K8S/1014/static/88ae08720e89fc8e96b66905e6a90b88/1e088/streamingmanagementen.png 840w,\n/iManager_K8S/1014/static/88ae08720e89fc8e96b66905e6a90b88/b5cea/streamingmanagementen.png 1140w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<ul>\n<li>Name: The name of the service, clicks on the name to enter the container page.</li>\n<li>Spark: The Spark cluster used in the service.</li>\n<li>Stream Processing Model: The stream processing model used in the service.</li>\n<li>Status: The status of the service.</li>\n<li>Redeploy: Redeploys the service.</li>\n<li>Job Detail: Clicks to open Streaming Runner interface, view the work recording of Spark.</li>\n<li>Delete: Delete the service.</li>\n</ul>\n<h4 id=\"container-management\"><a href=\"#container-management\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Container Management</h4>\n<p>Clicks on the name of Streaming Service to enter the container page, the page lists the information of container name, IP, status, duration, and host machine. If any container malfunctioned, you can recreate the container, the service would stop working until finishing recreating.</p>\n<p>Clicks on <strong>Logs</strong> to see the container’s log, the log has the running record of the container from creation to the present. Clicks <strong>Command Pad</strong> to enter the container’s command interface.</p>\n<blockquote>\n<p>Notes:<br>\nUsing [shift + insert] to paste the commands into the Command Pad.</p>\n</blockquote>","frontmatter":{"title":"GIS Cloud Suite","next":null,"prev":null},"fields":{"path":"content/microservices/StreamingService.en.md","slug":"/en/microservices/StreamingService/","langKey":"en"}}},"pageContext":{"slug":"/en/microservices/StreamingService/"}}}