To overwrite the default configuration of stream db edit the stream module's conf file.
Default configuration is as follows:
store.host="localhost" store.port=27017 store.dbName="lottery-event-store"