<reponame>IanShoe/serverless-leo<gh_stars>1-10
class Config:
    LOG_NAME = 'leosdk'
    LOG_LEVEL = 'DEBUG'
    LOG_FORMAT = '%(asctime)s %(name)s [%(levelname)s] %(message)s'
    BUS_REGION = 'us-west-2'
    AWS_PROFILE = 'leo_test'
    WRITER = 'STREAM'
    # WRITER = 'STORAGE'
    # WRITER = 'BATCH'


class DevBus(Config):
    REGION = 'us-west-2'
    ARCHIVE = 'DevBus-LeoArchive-XYZABC456123'
    CRON = 'DevBus-LeoCron-XYZABC456123'
    EVENT = 'DevBus-LeoEvent-XYZABC456123'
    STREAM = 'DevBus-LeoKinesisStream-XYZABC456123'
    STREAM_MAX_RECORD_SIZE = 1024 * 900
    STREAM_MAX_BATCH_SIZE = 1024 * 900
    STREAM_MAX_BATCH_RECORDS = 1000
    STREAM_MAX_BATCH_AGE = 200
    STREAM_MAX_UPLOAD_ATTEMPTS = 10
    BATCH = 'DevBus-LeoFirehoseStream-XYZABC456123'
    BATCH_MAX_RECORD_SIZE = 1024 * 4900
    BATCH_MAX_SIZE = 1024 * 3900
    BATCH_MAX_RECORDS = 1000
    BATCH_MAX_AGE = 60
    BATCH_MAX_UPLOAD_ATTEMPTS = 10
    STORAGE = 'devbus-leos3-xyzabc456123'
    STORAGE_MAX_RECORD_SIZE = 1024 * 4900
    STORAGE_MAX_BATCH_SIZE = 1024 * 3900
    STORAGE_MAX_BATCH_RECORDS = 4000
    STORAGE_MAX_BATCH_AGE = 6000
    STORAGE_MAX_UPLOAD_ATTEMPTS = 10
    SETTINGS = 'DevBus-LeoSettings-XYZABC456123'
    SYSTEM = 'DevBus-LeoSystem-XYZABC456123'


class ProdBus(Config):
    REGION = 'us-west-2'
    ARCHIVE = 'DevBus-LeoArchive-XYZABC456123'
    CRON = 'DevBus-LeoCron-XYZABC456123'
    EVENT = 'DevBus-LeoEvent-XYZABC456123'
    STREAM = 'DevBus-LeoKinesisStream-XYZABC456123'
    STREAM_MAX_RECORD_SIZE = 1024 * 900
    STREAM_MAX_BATCH_SIZE = 1024 * 900
    STREAM_MAX_BATCH_RECORDS = 1000
    STREAM_MAX_BATCH_AGE = 200
    STREAM_MAX_UPLOAD_ATTEMPTS = 10
    BATCH = 'DevBus-LeoFirehoseStream-XYZABC456123'
    BATCH_MAX_RECORD_SIZE = 1024 * 4900
    BATCH_MAX_SIZE = 1024 * 3900
    BATCH_MAX_RECORDS = 1000
    BATCH_MAX_AGE = 600
    BATCH_MAX_UPLOAD_ATTEMPTS = 10
    STORAGE = 'devbus-leos3-xyzabc456123'
    STORAGE_MAX_RECORD_SIZE = 1024 * 4900
    STORAGE_MAX_BATCH_SIZE = 1024 * 3900
    STORAGE_MAX_BATCH_RECORDS = 4000
    STORAGE_MAX_BATCH_AGE = 6000
    STORAGE_MAX_UPLOAD_ATTEMPTS = 10
    SETTINGS = 'DevBus-LeoSettings-XYZABC456123'
    SYSTEM = 'DevBus-LeoSystem-XYZABC456123'

class Config:
    LOG_NAME = 'leosdk'
    LOG_LEVEL = 'DEBUG'
    LOG_FORMAT = '%(asctime)s %(name)s [%(levelname)s] %(message)s'
    BUS_REGION = 'us-west-2'
    AWS_PROFILE = 'leo_test'
    WRITER = 'STREAM'
    # WRITER = 'STORAGE'
    # WRITER = 'BATCH'


class DevBus(Config):
    REGION = 'us-west-2'
    ARCHIVE = 'DevBus-LeoArchive-XYZABC456123'
    CRON = 'DevBus-LeoCron-XYZABC456123'
    EVENT = 'DevBus-LeoEvent-XYZABC456123'
    STREAM = 'DevBus-LeoKinesisStream-XYZABC456123'
    STREAM_MAX_RECORD_SIZE = 1024 * 900
    STREAM_MAX_BATCH_SIZE = 1024 * 900
    STREAM_MAX_BATCH_RECORDS = 1000
    STREAM_MAX_BATCH_AGE = 200
    STREAM_MAX_UPLOAD_ATTEMPTS = 10
    BATCH = 'DevBus-LeoFirehoseStream-XYZABC456123'
    BATCH_MAX_RECORD_SIZE = 1024 * 4900
    BATCH_MAX_SIZE = 1024 * 3900
    BATCH_MAX_RECORDS = 1000
    BATCH_MAX_AGE = 60
    BATCH_MAX_UPLOAD_ATTEMPTS = 10
    STORAGE = 'devbus-leos3-xyzabc456123'
    STORAGE_MAX_RECORD_SIZE = 1024 * 4900
    STORAGE_MAX_BATCH_SIZE = 1024 * 3900
    STORAGE_MAX_BATCH_RECORDS = 4000
    STORAGE_MAX_BATCH_AGE = 6000
    STORAGE_MAX_UPLOAD_ATTEMPTS = 10
    SETTINGS = 'DevBus-LeoSettings-XYZABC456123'
    SYSTEM = 'DevBus-LeoSystem-XYZABC456123'


class ProdBus(Config):
    REGION = 'us-west-2'
    ARCHIVE = 'DevBus-LeoArchive-XYZABC456123'
    CRON = 'DevBus-LeoCron-XYZABC456123'
    EVENT = 'DevBus-LeoEvent-XYZABC456123'
    STREAM = 'DevBus-LeoKinesisStream-XYZABC456123'
    STREAM_MAX_RECORD_SIZE = 1024 * 900
    STREAM_MAX_BATCH_SIZE = 1024 * 900
    STREAM_MAX_BATCH_RECORDS = 1000
    STREAM_MAX_BATCH_AGE = 200
    STREAM_MAX_UPLOAD_ATTEMPTS = 10
    BATCH = 'DevBus-LeoFirehoseStream-XYZABC456123'
    BATCH_MAX_RECORD_SIZE = 1024 * 4900
    BATCH_MAX_SIZE = 1024 * 3900
    BATCH_MAX_RECORDS = 1000
    BATCH_MAX_AGE = 600
    BATCH_MAX_UPLOAD_ATTEMPTS = 10
    STORAGE = 'devbus-leos3-xyzabc456123'
    STORAGE_MAX_RECORD_SIZE = 1024 * 4900
    STORAGE_MAX_BATCH_SIZE = 1024 * 3900
    STORAGE_MAX_BATCH_RECORDS = 4000
    STORAGE_MAX_BATCH_AGE = 6000
    STORAGE_MAX_UPLOAD_ATTEMPTS = 10
    SETTINGS = 'DevBus-LeoSettings-XYZABC456123'
    SYSTEM = 'DevBus-LeoSystem-XYZABC456123'
# WRITER = 'STORAGE' # WRITER = 'BATCH'