Skip to content

rumpel/thrift-python-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preparations

  1. Make sure Apache Thrift is compiled and installed
  2. Install maven (apt-get install mvn)

Running the server/client

Run the Java server

cd java-server-client
mvn test -Pserver

This command will run the server on port 9090

Run the Java client

cd java-server-client
mvn test -Pclient

Run the Python client

First, setup the required dependencies

git clone https://github.com/apache/thrift.git
cd ./thrift/lib/py
python setup.py install

Now you can easily run the python client

cd python/client
python main.py

About

A simple java-based thrift service server and a java&python client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published