Sign inSign up

openeuler/thrift

Sponsored OSS

By openeuler

Updated 2 months ago

Image
0

4.6K

openeuler/thrift repository overview

Quick reference

thrift | openEuler

Current thrift docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.

Thrift is a lightweight, language-independent software stack for point-to-point RPC implementation. Thrift provides clean abstractions and implementations for data transport, data serialization, and application level processing. The code generation system takes a simple definition language as input and generates code across programming languages that uses the abstracted stack to build interoperable RPC clients and servers.

For more information about thrift, please visit https://github.com/apache/thrift.

The tag of each thrift docker image is consist of the version of thrift and the version of basic image. The details are as follows

TagsCurrentlyArchitectures
0.23.0-oe2403sp4thrift 0.23.0 on openEuler 24.03-LTS-SP4amd64, arm64
0.23.0-oe2403sp3thrift 0.23.0 on openEuler 24.03-LTS-SP3amd64, arm64
0.22.0-oe2403sp1Thrift 0.22.0 on openEuler 24.03-LTS-SP1amd64, arm64

Usage

  • Start a thrift instance by following command:
docker run -it --name thrift openeuler/thrift:latest
  • Options
Usage: thrift [options] file
Options:
  -version    Print the compiler version
  -o dir      Set the output directory for gen-* packages
               (default: current directory)
  -out dir    Set the ouput location for generated files.
               (no gen-* folder will be created)
  -I dir      Add a directory to the list of directories
                searched for include directives
  -nowarn     Suppress all compiler warnings (BAD!)
  -strict     Strict compiler warnings on
  -v[erbose]  Verbose mode
  -r[ecurse]  Also generate included files
  -debug      Parse debug trace to stdout
  --allow-neg-keys  Allow negative field keys (Used to preserve protocol
                compatibility with older .thrift files)
  --allow-64bit-consts  Do not print warnings about using 64-bit constants
  --gen STR   Generate code with a dynamically-registered generator.
                STR has the form language[:key1=val1[,key2[,key3=val3]]].
                Keys and values are options passed to the generator.
                Many options will not require values.

Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.

Tag summary

Content type

Image

Digest

sha256:d729ccf2c

Size

314.8 MB

Last updated

2 months ago

docker pull openeuler/thrift

This week's pulls

Pulls:

14

Last week