10 lines
164 B
Python
10 lines
164 B
Python
from .kafka_p import *
|
|
from settings import settings
|
|
|
|
|
|
def output_factory(who):
|
|
f = {
|
|
'kafka': ToKafka(settings.KAFKA_CONF)
|
|
}
|
|
return f.get(who)
|