I have 2 sensors that publish data to Topic1 and Topic2 respectively.
There is a subscription from both devices to the same Lambda function on both the topics.