I use edgemicro version 2.5.26. In the configuration yaml file, I defined as below:
edgemicro: port: 8000 max_connections: 8000 config_change_poll_interval: 600 disabled_config_poll_interval: true logging: level: error dir: /var/tmp
I make "disabled_config_poll_interval" true. After restart edgemicro server, it seems the edgemicro runtime still polling apigee.net every 10 minutes. The logs are as below. Could you kindly advise how I can disable the configuration polling to apigee.net?
2018-10-22 00:40 Checking for change in configuration 2018-10-22 00:40 info: jwk_public_keys download from null returned 200 undefined 2018-10-22 00:40 info: jwt_public_key download from https://XXXXXXXX-test.apigee.net/edgemicro-auth/publicKey returned 200 OK 2018-10-22 00:40 info: config download from https://edgemicroservices.apigee.net/edgemicro/bootstrap/organization/XXXXXXXX/environment/test returned 200 OK 2018-10-22 00:40 info: products download from https://XXXXXXXX-test.apigee.net/edgemicro-auth/products returned 200 OK 2018-10-22 00:50 Checking for change in configuration 2018-10-22 00:50 info: jwk_public_keys download from null returned 200 undefined 2018-10-22 00:50 info: config download from https://edgemicroservices.apigee.net/edgemicro/bootstrap/organization/XXXXXXXX/environment/test returned 200 OK 2018-10-22 00:50 info: jwt_public_key download from https://XXXXXXXX-test.apigee.net/edgemicro-auth/publicKey returned 200 OK 2018-10-22 00:50 info: products download from https://XXXXXXXX-test.apigee.net/edgemicro-auth/products returned 200 OK 2018-10-22 01:00 Checking for change in configuration
Can you please delete
config_change_poll_interval: 600
and restart/reload MG?
Thank you so much for the helps! I just tried and still not works. The edgemicro still polls the apigee.net after I remove the "config_change_poll_interval:600" and restart the server.
Any ideas?
edgemicro: port: 8000 max_connections: 8000 disabled_config_poll_interval: true logging: level: error
There is a typo in the config.yaml. The property should be
disable_config_poll_interval
not "disabled". Here is the reference: https://docs.apigee.com/api-platform/microgateway/2.5.x/operation-and-configuration-reference-edge-m...
Thank you so much! It works now but the document in 2.3.3 should be updated. It shows disabled_config_poll_interval as below.
Following are the new features and enhancements for this release.
Disable automatic change polling
You can turn off automatic change polling by setting this attribute in the microgateway config:
disabled_config_poll_interval: true
Thanks again!
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |