You can use Tunnel and TunnelBufferedWriter to upload data.

  • MaxCompute provides two Tunnel endpoints. The efficiency and costs of data upload vary based on the Tunnel endpoint that you use. For more information, see Tunnel SDK.
  • We recommend that you use TunnelBufferedWriter to upload your data. For more information, see the sample code in BufferedWriter.
  • The code varies based on the SDK version. The sample code is only for reference. Take note of the SDK version that you use.