I was trying to combine pulsar and temporal to handling async event streaming, all of my activity method will produce an event instead of actual business work. However, when I started my temporal worker for accepting the request, and try to make a request to start the workflow I got the error message below. Could anyone know how to fix it? Thanks.
Exception in thread "pool-1-thread-2" Exception in thread "pool-1-thread-1" java.lang.NoSuchFieldError: ZERO
at io.temporal.internal.common.ProtobufTimeUtils.toProtoDuration(ProtobufTimeUtils.java:38)
at io.temporal.internal.sync.WorkflowStubImpl.newStartWorkflowExecutionRequest(WorkflowStubImpl.java:189)
at io.temporal.internal.sync.WorkflowStubImpl.startWithOptions(WorkflowStubImpl.java:153)
at io.temporal.internal.sync.WorkflowStubImpl.start(WorkflowStubImpl.java:268)
at io.temporal.internal.sync.WorkflowInvocationHandler$StartWorkflowInvocationHandler.invoke(WorkflowInvocationHandler.java:242)
at io.temporal.internal.sync.WorkflowInvocationHandler.invoke(WorkflowInvocationHandler.java:178)
at com.sun.proxy.$Proxy3.transfer(Unknown Source)
at io.temporal.internal.sync.WorkflowClientInternal.lambda$start$431e99ec$1(WorkflowClientInternal.java:228)
at io.temporal.internal.sync.WorkflowClientInternal.start(WorkflowClientInternal.java:220)
at io.temporal.internal.sync.WorkflowClientInternal.start(WorkflowClientInternal.java:228)
at io.temporal.client.WorkflowClient.start(WorkflowClient.java:250)
Thanks for your help. It was my framework problem, when I directly called the pulsar client which was working fine. So the problem was resolved. Thanks.