1

I need help with Pulsar Function Exceptions, what are User Function Exceptions and what will happen if its Rate/Count is high and also what could be the cause of high Rate/Count.

Evgeniy Berezovsky
  • 18,571
  • 13
  • 82
  • 156
basit khan
  • 81
  • 1
  • 7
  • 1
    Can you add a little more detail to this question? Exceptions can occur in multiple locations with Pulsar functions. There are the traditional checked exceptions that occur inside the code and then there are unchecked exceptions that can occur in the Pulsar function framework code. – David Kjerrumgaard Mar 09 '20 at 18:35
  • Well thanks a lot for your reply. Seems that the problem is solved ( not permanent I think). Can you provide some reference to "pulsar function framework", it could an error or solution or any other reading material just to understand it better I think.. that would be really helpful. – basit khan Mar 10 '20 at 19:57
  • What I mean by "pulsar function framework", is the underlying code inside Pulsar that is responsible for delivering and acknowledging the messages that are provide to your function on every invocation. Exceptions at that level are don't appear in the functions log files. Consider a message that has compressed content. When it is delivered to the function it must first be decompressed so it can be provided as the expected type. Now if that decompressed message size exceeds the maximum message size in Pulsar an unchecked exception occurs and the message is not delivered to the function. – David Kjerrumgaard Mar 11 '20 at 15:13
  • 1
    The problem was with ignite due which it throws an exception but again thanks for clearing it out. – basit khan Mar 12 '20 at 06:17

0 Answers0