springboot + springcloud + Google pubsub+ firebase 【代码】springboot + springcloud + Google pubsub+ firebase。
mongodb查询sql db.getCollection('table_name').find({ region: 'your_region', channel: 'your_channel' }).sort({'create_time': -1}).limit(5)
JPA:org.hibernate.LazyInitializationException: could not initialize proxy异常 法一:在resources的配置文件application-dev.yml添加内容(注意缩进)法三:在测试方法上添加@Transactional。