-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG OCPBUGS-6050: Amq connection configurable timeout and nohup #187
Conversation
cmd/main.go
Outdated
@@ -71,6 +73,7 @@ func main() { | |||
flag.StringVar(&transportHost, "transport-host", "amqp:localhost:5672", "The transport bus hostname or service name.") | |||
flag.IntVar(&apiPort, "api-port", 8089, "The address the rest api endpoint binds to.") | |||
flag.StringVar(&httpEventPublisher, "http-event-publishers", "", "Comma separated address of the publishers available.") | |||
flag.StringVar(&amqInitTimeout, "amq-init-timeout", amqInitTimeoutDefault.String(), "The retry duration for establishing an amq connection.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should transport protocol agnostic . You can't have amq specific flags on sidecar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AMQ is going to go away and it not configurable for PTP operator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed the command line argument
b1a98d3
to
f7d0c37
Compare
2c1fdce
to
5a7591c
Compare
Allow configurable timeout for initial amq connection. Introduce amqp://nohup transportHost for local logging of events when amq connection is not available Signed-off-by: Jack Ding <jackding@gmail.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aneeshkp, jzding The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@jzding: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-6050 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Allow configurable timeout for initial amq connection.
Introduce amqp://nohup transportHost for local logging of events when amq connection is not available
Signed-off-by: Jack Ding jackding@gmail.com