You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2022/01/26 06:28:11 UTC

[GitHub] [incubator-eventmesh] liwenzheng opened a new issue #748: [Bug] LogExporter cannot be cast to EventMeshExporter

liwenzheng opened a new issue #748:
URL: https://github.com/apache/incubator-eventmesh/issues/748


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Environment
   
   Mac
   
   ### EventMesh version
   
   master
   
   ### What happened
   
   ![image](https://user-images.githubusercontent.com/1767832/151113877-c2dc0a79-c4ac-4467-91a7-e3219621afa1.png)
   ![image](https://user-images.githubusercontent.com/1767832/151113939-4d773170-f92f-4702-b077-68612cdf4c8e.png)
   
   
   ### How to reproduce
   
   use master ,you run startup.
   
   ### Debug logs
   
   [main] ERROR org.apache.eventmesh.runtime.trace.OpenTelemetryTraceFactory - fail to set tracer's exporter,due to org.apache.eventmesh.runtime.exporter.LogExporter cannot be cast to org.apache.eventmesh.runtime.exporter.EventMeshExporter
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] ruanwenjun commented on issue #748: [Bug] LogExporter cannot be cast to EventMeshExporter

Posted by GitBox <gi...@apache.org>.
ruanwenjun commented on issue #748:
URL: https://github.com/apache/incubator-eventmesh/issues/748#issuecomment-1022163753


   Use a ExporterManager to load the exporter is better, we can hold the mapping between exporter name and exporter instance. And in this case, does the LogExporter need to implements with EventMeshExporter?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] Roc-00 commented on issue #748: [Bug] LogExporter cannot be cast to EventMeshExporter

Posted by GitBox <gi...@apache.org>.
Roc-00 commented on issue #748:
URL: https://github.com/apache/incubator-eventmesh/issues/748#issuecomment-1022849719


   > Use a ExporterManager to load the exporter is better, we can hold the mapping between exporter name and exporter instance. And in this case, does the LogExporter need to implements with EventMeshExporter?
   
   I am working on transforming trace into plugin.Thank you for your advices, and I will try to use ExporterManager in the trace-plugin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 commented on issue #748: [Bug] LogExporter cannot be cast to EventMeshExporter

Posted by GitBox <gi...@apache.org>.
xwm1992 commented on issue #748:
URL: https://github.com/apache/incubator-eventmesh/issues/748#issuecomment-1021905556


   @Roc-00 please take a look.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] liwenzheng commented on issue #748: [Bug] LogExporter cannot be cast to EventMeshExporter

Posted by GitBox <gi...@apache.org>.
liwenzheng commented on issue #748:
URL: https://github.com/apache/incubator-eventmesh/issues/748#issuecomment-1021988351


   > @Roc-00 please take a look.
   
   I know, using exceptions to handle, but this is not a good way。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] Roc-00 commented on issue #748: [Bug] LogExporter cannot be cast to EventMeshExporter

Posted by GitBox <gi...@apache.org>.
Roc-00 commented on issue #748:
URL: https://github.com/apache/incubator-eventmesh/issues/748#issuecomment-1022848284


   > > @Roc-00 please take a look.
   > 
   > I know, using exceptions to handle, but this is not a good way。
   
   Yes,you are right, my purpose was to set the logExporter as a default realization.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] ruanwenjun commented on issue #748: [Bug] LogExporter cannot be cast to EventMeshExporter

Posted by GitBox <gi...@apache.org>.
ruanwenjun commented on issue #748:
URL: https://github.com/apache/incubator-eventmesh/issues/748#issuecomment-1022870504


   > 
   
   Great, you can refer to the other plugin module.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] ruanwenjun commented on issue #748: [Bug] LogExporter cannot be cast to EventMeshExporter

Posted by GitBox <gi...@apache.org>.
ruanwenjun commented on issue #748:
URL: https://github.com/apache/incubator-eventmesh/issues/748#issuecomment-1022870693


   > > Use a ExporterManager to load the exporter is better, we can hold the mapping between exporter name and exporter instance. And in this case, does the LogExporter need to implements with EventMeshExporter?
   > 
   > I am working on transforming trace into plugin.Thank you for your advices, and I will try to use ExporterManager in the trace-plugin.
   
   Great, you can refer to the other plugin module.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] ruanwenjun removed a comment on issue #748: [Bug] LogExporter cannot be cast to EventMeshExporter

Posted by GitBox <gi...@apache.org>.
ruanwenjun removed a comment on issue #748:
URL: https://github.com/apache/incubator-eventmesh/issues/748#issuecomment-1022870504


   > 
   
   Great, you can refer to the other plugin module.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org