When switching the persistence provider of a value stream (for example, from ThingworxPersistenceProvider to InfluxPersistenceProviderPackage), any Thing that implements a value stream must call the RestartThing service to retrieve entries written to the new persistence provider. If the Things are not restarted, entries may be written to the database, but they are not retrieved until the Thing is restarted. |
Name | Description | Default Value |
---|---|---|
Connection URL | The URL of the database from which you should acquire connections. | http://localhost:8086 |
Database Schema | Schema to connect. | thingworx |
Username | User name for acquiring a database connection. | twadmin |
Password | Password for acquiring a database connection. | n/a |
Fetch Size of Data from the Persistence Provider | Fetch size of data from the persistence provider. | 5000 |
Time for Connection Timeout | Time, in seconds, for a connection timeout. | 10 |
Time for Read Timeout | Time, in seconds, for a read timeout. | 10 |
Time for Write Timeout | Time, in seconds, for a write timeout. | 10 |
Name | Description | Base Type | Default Value | ||
---|---|---|---|---|---|
Max Queue Size | Maximum number of stream entries to queue. Once the specified value is reached, the subsequent entries are rejected. | Number | 250000 | ||
Max Wait Time Before Flushing Stream Buffer (millisec) | Number of milliseconds the system waits before flushing the stream buffer. | Number | 2000 | ||
Number of Processing Threads | Number of processing threads dedicated to the stream.
| Number | 5 | ||
Max no. of Items Before Flushing Stream Buffer | Maximum number of items to accumulate before flushing the stream buffer. | Number | 1000 | ||
Max no. of Stream Writes in Process Block | Maximum number of stream writes to process in one block. | Number | 2500 | ||
Buffer Status Scan Rate (millisec). | The buffer status is checked at the specified rate value in milliseconds. | Number | 5 |
Name | Description | Base Type | Default Value | ||
---|---|---|---|---|---|
Max Queue Size | Maximum number of value stream entries to queue. Once the specified value is reached, the following entries are rejected. | Number | 500000 | ||
Max Wait Time Before Flushing Value Stream Buffer (millisec) | Number of milliseconds the system waits before flushing the value stream buffer. | Number | 10000 | ||
Number of Processing Threads | Number of processing threads allocated to the value stream.
| Number | 5 | ||
Max no. of Items Before Flushing Value Buffer | Maximum number of items to accumulate before flushing the value stream buffer. | Number | 1000 | ||
Max no. of Value Stream Writes in Process Block | Maximum number of items to process in one block. | Number | 2500 | ||
Buffer Status Scan Rate (millisec) | The buffer status is checked at the specified rate value in milliseconds. | Number | 5 |