Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Exception
Code Block
wso2carbon.log:114:TID: [-1234] [] [2017-03-31 00:00:01,155] ERROR {org.wso2.carbon.databridge.core.internal.queue.QueueWorker} -  Dropping wrongly formatted event sent for -1234 {org.wso2.carbon.databridge.core.internal.queue.QueueWorker}
wso2carbon.log-115-org.wso2.carbon.databridge.core.exception.EventConversionException: Error when converting 1 of event bundle with events 6
wso2carbon.log-116-	at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:181)
OccurrenceThis may occur when you publish events to WSO2 DAS before or after starting the DAS server.
Possible reasons
  • If this exception occurs for events that were sent before the DAS server start-up, it can be due to a delay in the deployment of one or more artifacts deployed via CAR files.
  • If this exception occurs for events that are sent after the DAS server start-up, it is because the relevant event stream is not defined or deployed in WSO2 DAS. For more information about event streams, see Understanding Event Streams and Event Tables.
Troubleshooting optionsGo to the <DAS_HOME>/repository/deployment/server/eventstreams directory and check whether the required event stream definition exists.
Recommended actionEnsure that the required event streams are defined/deployed.



...

Troubleshooting WSO2Event Receivers using databridge debug logs

org.wso2.carbon.databridge.core.internal.queue.QueueWorker provides debug logs which can be enabled in DAS management console.

To enable databridge debug logs, follow the steps given below.

  1. Go to HomeConfigure → Logging
  2. Filter logger by 'org.wso2.carbon.databridge.core.internal.queue'
  3. Set log level to 'DEBUG'

  Under above configuration, following information will be logged.

  • Code Block
    <size of event queue> + " messages in queue before " + <name of the current thread> + " worker has polled queue ".
  • Code Block
    "Dispatching event to " + <number of subscribers> + " subscriber(s) ".
  • Code Block
    <size of event queue> + " messages in queue after " + <name of the current thread> + " worker has finished work ".