Publishing Stream Processing Model

Feedback


You can publish stream processing model (Streaming Service) by following these steps:

  1. Click "publish service" on the "service management homepage" or click "quickly publish service" on the "service-service management" page to enter the publishing wizard
  2. The select datasource is the "stream processing model", and click Next;
  3. Configure service information
  1. Select the published service type "stream processing model" and click "Next";
  2. There is no need to configure the service. Click the "Publish" button to complete the publishing process;
  3. After publishing, you can see the name and link of the currently published service. Click it to access the service directly. Enter the subscription interface of the published service, and click Subscribe. If the display shows that the subscription is successful and the subscription box contains the feature results, service publishing is successful.

Note:

1.The name of the data stream service must be consistent with the service name in the path address of the streaming file. The characters in the red box in the following figure are the names of the data stream services.

2. If the streaming file is associated with a local file (such as CSV file), you need to change the file address to an absolute path.

 

Common problems and solutions:

1. Click the subscription button to show that the subscription is successful, but the subscription box does not return data.

Cause: Only one application is allowed to be running in Spark's running applications.

Workaround: Open Spark address, check process.

Common conditions:

2. How to modify the configuration information of streaming?

Solution:

3. How do I configure fields?

Find the iserver-dataflow.xml file in the 【iServer installation directory】\webapps\iserver\WEB-INF folder, and copy the field information in the streaming file to this file.

After the configuration is successful, the field information can be seen on the page.