netflix

Turbine AMQP does not receive Hystrix stream

大兔子大兔子 提交于 2019-12-11 03:59:59
问题 I had a Turbine and Hystrix setup working, but decided to change it over to Turbine AMQP so I could aggregate multiple services into one stream/dashboard. I have set up a Turbine AMQP server running on localhost:8989, but it doesn't appear to be getting Hystrix data from the client service. When I hit the Turbine server's IP in my browser, I see data: {"type":"Ping"} repeatedly, even while I am polling the URL of the Hystrix. If I attempt to show the Turbine AMQP stream in the Hystrix

Memory Leak Issue with spring-cloud-starter-hystrix and spring-cloud-starter-archaius integration

早过忘川 提交于 2019-12-11 01:12:15
问题 We are using spring-cloud-starter-hystrix with spring-cloud-starter-archaius where we are unable to stop the poolingconfigurationSource thread of archaius once the war is un-deployed. But spring-cloud-starter-archaius is working fine without hystrix and thread is stopped once war is un-deployed. 回答1: Try reseting Hystrix before the Spring Application shuts down @EnableCircuitBreaker @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication

微服务 2.0 技术栈选型手册

我只是一个虾纸丫 提交于 2019-12-10 11:23:30
本文转自: https://mp.weixin.qq.com/s/OloZhn2pwfIrOQit_8jefA 一、前言 2014年可以认为是微服务1.0的元年,当年有几个标志性事件,一是Martin Fowler在其博客上发表了“Microservices”一文,正式提出微服务架构风格;二是Netflix微服务架构经过多年大规模生产验证,最终抽象落地形成一整套开源的微服务基础组件,统称NetflixOSS,Netflix的成功经验开始被业界认可并推崇;三是Pivotal将NetflixOSS开源微服务组件集成到其Spring体系,推出Spring Cloud微服务开发技术栈。 一晃三年过去,微服务技术生态又发生了巨大变化,容器,PaaS,Cloud Native,gRPC,ServiceMesh,Serverless等新技术新理念你方唱罢我登场,不知不觉我们又来到了微服务2.0时代。基于近年在微服务基础架构方面的实战经验和平时的学习积累,我想总结并提出一些构建微服务2.0技术栈的选型思路,供各位在一线实战的架构师、工程师参考借鉴。对于一些暂时还没有成熟开源产品的微服务支撑模块,我也会给出一些定制自研的设计思路。 二、选型准侧 对于技术选型,我个人有很多标准,其中下面三项是最重要的: 1. 生产级 我们选择的技术栈是要解决实际业务问题和上生产抗流量的(选择不慎可能造成生产级事故)

Use javascript to pause, jump to position, and adjust volume in netflix's silverlight player

荒凉一梦 提交于 2019-12-10 10:34:45
问题 I am trying to use javascript to pause, jump to position, and adjust volume in netflix's silverlight player. There is no published API document for it in netflix, but I am guessing there is some silverlight controls buried in the app that are accessible via javascript. 回答1: Partialy it can be done, but its awkward. The Silverlight plugin can be controlled by key strokes, once it has focus. You might find elsewhere what are to combinations. Basicly there is space for pause/play, arrows for

Replicate Netflix login and generate cookie

落花浮王杯 提交于 2019-12-09 07:13:14
问题 Since there is no official public Netflix API anymore, I'm trying to reverse engineer some things on my own. But I'm kind of stuck at the login. What I'm doing: GET request on https://www.netflix.com/Login Follow the redirects to end up on something like /Login?locale=en-DE Extract the authURL value (required for the login POST later on) GET request on https://assets.nflxext.com/us/ffe/siteui/logging/clientNotifications.min.20150626.js [Failed] Generate and set the "cL" cookie from the

Too many LOGS getting generated for Hystrix-AMQP

时光毁灭记忆、已成空白 提交于 2019-12-08 15:26:43
问题 so I added the dependency for Hystrix-AMQP to my service and the log file is going crazy it just keep on logging metrics stuff. I need that jar to actually use it with turbine-AMQP. here is what i have in my gradle for hystrix:- compile ("org.springframework.cloud:spring-cloud-starter-hystrix:1.0.6.RELEASE") compile ('org.springframework.cloud:spring-cloud-starter-bus-amqp:1.0.6.RELEASE') compile ('org.springframework.cloud:spring-cloud-netflix-hystrix-amqp:1.0.7.RELEASE') compile ('com

Create a Custom Spring Cloud Netflix Ribbon Client

我与影子孤独终老i 提交于 2019-12-08 08:04:09
问题 I am using Spring Cloud Netflix Ribbon in combination with Eureka in a Cloud Foundry environment. The use case I am trying to implement is the following: I have a running CF application named address-service with several instances spawned. The instances are registering to Eureka by the service name address-service I have added custom metadata to service instances using eureka.instance.metadata-map.applicationId: ${vcap.application.application_id} I want to use the information in Eureka's

Controlling the Netflix player manually with .seek() method

蹲街弑〆低调 提交于 2019-12-08 04:55:30
问题 I'm looking to seek the Netflix player manually (from the console). I get the player : netflix.cadmium.objects.videoPlayer() , and I know there is a .seek() method on it but I don't know how to use it. What I've tried netflix.cadmium.objects.videoPlayer().seek(60) netflix.cadmium.objects.videoPlayer().seek("60") & nothing happens... 回答1: The netflix.cadmium.objects.videoPlayer().seek() function accepts a time in milliseconds. Assuming your argument was in seconds, you can fix this by calling

Cannot disable Spring Cloud Config via spring.cloud.config.enabled:false

孤街醉人 提交于 2019-12-06 21:36:03
问题 Let me preface this by saying that I'm not using Spring Cloud Config directly, it is transitive via Spring Cloud Hystrix starter. When only using @EnableHystrix , Spring Cloud also tries to locate a configuration server, expectedly unsuccessfully, since I'm not using one. The application works just fine, as far as I can tell, but the problem is in the status checks. Health shows DOWN because there is no config server. Browsing the source of the project, I'd expect spring.cloud.config.enabled

Controlling the Netflix player manually with .seek() method

我与影子孤独终老i 提交于 2019-12-06 15:26:41
I'm looking to seek the Netflix player manually (from the console). I get the player : netflix.cadmium.objects.videoPlayer() , and I know there is a .seek() method on it but I don't know how to use it. What I've tried netflix.cadmium.objects.videoPlayer().seek(60) netflix.cadmium.objects.videoPlayer().seek("60") & nothing happens... The netflix.cadmium.objects.videoPlayer().seek() function accepts a time in milliseconds. Assuming your argument was in seconds, you can fix this by calling .seek(60 * 1000) to seek one minute into the video. For future reference, most time-related functions in