Problem description
When you publish a High-speed Service Framework (HSF) application, the following error is reported:
java.lang.IllegalArgumentException: publisher count bigger than 800
Causes
The number of services exceeds the upper limit. The configclient plug-in of Pandora has the following limits on the publication of an application.
Item | Example | Upper limit | Adjustable |
{Service name}:{Version number} | com.alibaba.edas.testcase.api.TestCase:1.0.0 | 192 bytes | No |
Group name | aliware | 32 bytes | No |
Number of services published for a Pandora application instance | N/A | 800 | Yes |
Solutions
Log on to the EDAS console.
In the left-side navigation pane, choose . In the top navigation bar, select the region. In the upper part of the Applications page, select the microservice namespace from the Microservice Namespace drop-down list and then click the name of the desired application.
In the Application Settings section of the Basic Information tab, click Edit next to JVM Parameters.
In the Application Settings dialog box, expand the Custom section. In the Custom Parameters field, enter
-DCC.pubCountMax=2000
. Then, click Configure JVM Parameters.Restart the application for the JVM parameter to take effect.