Esempio n. 1
0
__author__ = 'David Turanski'

from springxd.stream import Processor


def echo(data):
    return data

process = Processor()
process.start(echo)

Esempio n. 2
0
__author__ = 'David Turanski'

from springxd.stream import Processor


def echo(data):
    return data


process = Processor()
process.start(echo)
Esempio n. 3
0
__author__ = 'David Turanski'
import sys
import os

sys.path.append(os.path.abspath('../../spring-xd-python/src'))
from springxd.stream import Processor

def echo(data):
    return data

processor =  Processor()
processor.start(echo)