Example

MaxCompute provides two service addresses for you to choose from. If you select the Tunnel service address, it may directly affect your data upload efficiency and billing. For more information, see Tunnel SDK overview.

We recommend that you use the TunnelBufferedWriter interface when uploading data. For more information, see the sample codes in BufferedWriter.

Operations may vary based on SDK versions. This example is provided only for your reference. Consider variances between different versions before you proceed.