You need to enable JavaScript to run this app.
Torch Log Service

Torch Log Service

Copy page
Download PDF
Java SDK
Java SDK overview
Copy page
Download PDF
Java SDK overview
The Volcengine TLS Java SDK encapsulates the common interfaces of TLS, allowing you to call server-side APIs through the SDK to implement log collection, log query, and other functions.​
Tip​
In addition to basic features, the Java SDK provides a convenient and flexible library, namely the Java Producer, which is used for quickly sending log data in scenarios involving massive data volumes. For more details, see GitHub.​
Description​
Please refer to GitHub for the update log and release notes of the Volcengine TLS Java SDK. We recommend selecting the latest version of the SDK to experience updated product capabilities and more stable service.​
Sample project​
The TLS Java SDK provides a wealth of sample projects for your reference, including common scenarios such as log collection and resource management. For more details, please refer to the GitHub source code.​
​
GitHub source code​
Notice​
Example code for log project management, including creating log projects, modifying log projects, viewing log projects, and deleting log projects.​
Example code for log topic management, including creating, modifying, viewing, and deleting log topics​
Example code for log collection and query, including creating related resources, collecting log data, configuring indexes, and querying and analyzing logs.​
Producer log sending sample code Producer features asynchronous sending, high performance, failure retry, graceful shutdown, and other features. TLS recommends that you use Producer to report logs. For Producer-related configuration, please refer to Producer configuration.​
Example code for consumer consumption log. Consumer supports load-balanced consumption of data from all shards under a log topic, and features asynchronous consumption, high performance, failure retry, graceful shutdown, and other features. TLS recommends that you use Consumer to consume logs.​
Provides sample codes for TLS account management, including obtaining account status and activating log service.​
​
​
Last updated: 2026.07.23 11:21:30