text: const express = require('express');
  const axios = require('axios');
  
  const app = express();
  app.use(express.json());
  
  const events = [];
  
  app.post('/events', (req, res) => {
      try {
          const event = req.body;
  
          events.push(event);
  
          console.log('--EVENT BUS-- event : { type: ' + event.type + ' }, data: { ' + event.data + ' };');
          axios.post('http://secrets-clusterip-srv:4000/events', event);
          axios.post('http://comments-srv:4001/events', event);
          axios.post('http://query-srv:4002/events', event);
          axios.post('http://moderation-srv:4003/events', event);
      } catch (err) {
          console.log('--EVENT BUS-- error : ' + err);
      }
      res.send({ status : 'OK' });
  });
  
  
  app.get('/events', (req,res) => {
      res.send(events);
  });
  
  app.listen(4005, () => {
      console.log('Event-bus listening on port 4005');
  });