

AWS_redisHost = 'ec2-52-205-251-116.compute-1.amazonaws.com'
AWS_redisPort = 6380

AWS_REDIS_USER_NEWS_TIME_OUT_IN_SECONDS = 600
AWS_REDIS_NEWS_TIME_OUT_IN_SECONDS = 3600 * 24

# mongodb connect
MONGODB_NEWS_TABLE_NAME = "newCollection"
MONGODB_CLICK_LOGS_TABLE_NAME = 'click_logs'
MONGODB_PREFERENCE_MODEL_TABLE_NAME = "user_preference_model"
MONGODB_NEWS_LIMIT = 100
MONGODB_NEWS_LIST_BATCH_SIZE = 10

SLEEP_TIME_IN_SECONDS = 10

## Kafka Topic
AWS_KAFKA_DEDUPE_NEWS_TASK_QUEUE = 'DEDUPE'
AWS_KAFKA_SCRAPE_NEWS_TASK_QUEUE = 'SCRAPE'
AWS_KAFKA_LOG_CLICKS_TASK_QUEUE = 'LOG'


AWS_RPC_Service_SERVER_PORT = 4040
AWS_RPC_SERVER_HOST = 'ec2-54-175-248-107.compute-1.amazonaws.com'

AWS_KAFKA_SERVER = ['ec2-54-163-153-215.compute-1.amazonaws.com:9092', 'ec2-52-207-212-20.compute-1.amazonaws.com:9092']
AWS_MONGO_DB_HOST = 'ec2-52-205-251-116.compute-1.amazonaws.com'

AWS_MONGO_DB_PORT = 33333
AWS_DB_NAME = 'RecommendationNews'

Recommendation_SERVER_PORT = 5050
SAME_NEWS_SIMILARITY_THRESHOLD = 0.9




AWS_redisHost = 'ec2-52-205-251-116.compute-1.amazonaws.com'
AWS_redisPort = 6380

AWS_REDIS_USER_NEWS_TIME_OUT_IN_SECONDS = 600
AWS_REDIS_NEWS_TIME_OUT_IN_SECONDS = 3600 * 24

# mongodb connect
MONGODB_NEWS_TABLE_NAME = "newCollection"
MONGODB_CLICK_LOGS_TABLE_NAME = 'click_logs'
MONGODB_PREFERENCE_MODEL_TABLE_NAME = "user_preference_model"
MONGODB_NEWS_LIMIT = 100
MONGODB_NEWS_LIST_BATCH_SIZE = 10

SLEEP_TIME_IN_SECONDS = 10

## Kafka Topic
AWS_KAFKA_DEDUPE_NEWS_TASK_QUEUE = 'DEDUPE'
AWS_KAFKA_SCRAPE_NEWS_TASK_QUEUE = 'SCRAPE'
AWS_KAFKA_LOG_CLICKS_TASK_QUEUE = 'LOG'


AWS_RPC_Service_SERVER_PORT = 4040
AWS_RPC_SERVER_HOST = 'ec2-54-175-248-107.compute-1.amazonaws.com'

AWS_KAFKA_SERVER = ['ec2-54-163-153-215.compute-1.amazonaws.com:9092', 'ec2-52-207-212-20.compute-1.amazonaws.com:9092']
AWS_MONGO_DB_HOST = 'ec2-52-205-251-116.compute-1.amazonaws.com'

AWS_MONGO_DB_PORT = 33333
AWS_DB_NAME = 'RecommendationNews'

Recommendation_SERVER_PORT = 5050
SAME_NEWS_SIMILARITY_THRESHOLD = 0.9


# mongodb connect ## Kafka Topic