def sendMessagesToSentinel(self,etdMessages):
        """
        Function to batch messages received from ETD api
        :param etdMessages: Messages retrived from ETD api
        """
        messages = etdMessages.get("data").get("messages")
        for i in range(0, len(messages), CHUNKSIZE):
            batchedMessages = messages[i:i+CHUNKSIZE]
            self.postMessages(batchedMessages)

        Function to batch messages received from ETD api
        :param etdMessages: Messages retrived from ETD api
        
Solutions/Cisco ETD/Data Connectors/CiscoETDAzureSentinelConnector/__init__.py