This topic describes how to get started with the message model (Timeline model) using sample code.
Prerequisites
You have activated the Tablestore service and created an instance. For more information, see Activate a service and create an instance.
Procedure
Download and install the Tablestore Java SDK package. For more information, see Install the Java SDK.
Use the instance endpoint and your AccessKey to initialize the instance. For more information, see Initialize a Tablestore client.
Use the sample code to get started with the message model. For more information, see Sample code.
References
To learn how to build a feed stream system for tens of millions of users using the message model, see How to build a feed stream system for tens of millions of users.
To learn how to build a modern instant messaging (IM) system, such as DingTalk, using the message model, see Implement the IM features of DingTalk based on the Tablestore message model.