Comments (8)
Welcome to the Apache EventMesh community!!
We are glad that you are contributing by opening this issue. :D
Please make sure to include all the relevant context.
We will be here shortly.
If you are interested in contributing to our project, please let us know!
You can check out our contributing guide on contributing to EventMesh.
Want to get closer to the community?
WeChat Assistant | WeChat Public Account | Slack |
---|---|---|
Join Slack Chat |
Mailing Lists:
Name | Description | Subscribe | Unsubscribe | Archive |
---|---|---|---|---|
Users | User support and questions mailing list | Subscribe | Unsubscribe | Mail Archives |
Development | Development related discussions | Subscribe | Unsubscribe | Mail Archives |
Commits | All commits to repositories | Subscribe | Unsubscribe | Mail Archives |
Issues | Issues or PRs comments and reviews | Subscribe | Unsubscribe | Mail Archives |
from incubator-eventmesh.
Welcome to EventMesh community.
eventMesh.server.provide.protocols=
-> HTTP
eventMesh.server.provide.protocols=http
-> TCP
CommonConfiguration.java
L124 is the fallback solution when there is no protocol configuration.
EventMeshServer.java
L97 is the fallback solution for misconfigured protocol.
from incubator-eventmesh.
eventMesh.server.provide.protocols=
-> HTTPeventMesh.server.provide.protocols=http
-> TCP
Why not just use one protocol as the default server instead of two?
from incubator-eventmesh.
@silentchildh Because the vast majority of users will not use only one protocol, if the user has misconfigured the protocol (e.g. case mismatch, incorrect punctuation), the fact that EventMesh starts up with only the most basic TCPServer will make it easier for the user to be aware of the configuration error.
from incubator-eventmesh.
@silentchildh Because the vast majority of users will not use only one protocol, if the user has misconfigured the protocol (e.g. case mismatch, incorrect punctuation), the fact that EventMesh starts up with only the most basic TCPServer will make it easier for the user to be aware of the configuration error.
So what you're saying is, split into multiple errors, and alert the user to different errors by eventually starting the HTTP and TCP servers differently. But will this increase the cost of memory for users?
And I wonder if it can use the toUpperCase()
method to avoid case conversion problems.
from incubator-eventmesh.
@silentchildh It won't increase the cost of memory for users. If one day this practice proves unsuitable, we'll find a better way.
Yes, you may use toUpperCase()
method to avoid case conversion problems.
from incubator-eventmesh.
@Pil0tXia Well, thank you for taking part in this discussion.
from incubator-eventmesh.
@silentchildh You're welcome, and thanks for providing us with feedback on your usage. Please feel free to close issue if your problem is solved.
from incubator-eventmesh.
Related Issues (20)
- [Feature] fix gradle dependecy and add runtime v2
- [Feature] Add Canal Connector
- [Enhancement] Upgrade jetcd-core to 0.7.7 HOT 1
- [Enhancement] Upgrade pinpoint-profiler to 3.x.x HOT 2
- [Question] Syncronize replicas of eventmesh runtime HOT 9
- [Feature] Canal Connector supports bidirectional data synchronization
- [Feature] Support Serverless platform by Openwhisk
- [Unit Test] Unit test for HttpConvertsUtils.java
- [Unit Test] Unit test For LogUtil.java
- [Unit Test] Unit test for JsonPathUtils.java
- [Unit Test] Unit test for EventMeshCloudEventWriter.java
- [Unit Test] Unit test for HttpRequestUtil.java HOT 1
- [Unit Test] Unit test for TraceUtil.java
- [Bug] Devlocity Build Scan publish failed
- [Enhancement] Move the version variables of third-party middlewares from `gradle.properties` to `build.gradle`
- [Feature] Support JRaft service registration when automatic scaling up and down
- [Unit Test] Optimize unit tests and code <HTTP Connector>
- [Doc] EventMesh application scenario case collection HOT 1
- Sending cloudevents format messages using grpc is slow (I don't know if all producers are slow) HOT 2
- [Feature] Http Connector Adaptation Work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-eventmesh.