My Consumer Group Is Not Balanced Oct 27, 2019 The Kafka consumer groups concept is a great and easy-to-approach abstraction over multi-instance consumption of records from topics. In certain cases, however, you might end up with a scenario where only a subset of all consumers in a group is assigned to any partitions. As a result, the balanced spread of partitions amongst consumers one would expect, is not happening. In this post I will describe the consumer group partition assignment process and why it matters. ...
Access Host Services from Containers on Windows Server 2016 Jan 31, 2017 Occasionally it is necessary to access services running on the host machine from a container. You may be inclined to use localhost to reach the host, but this will not work as the container itself is localhost. Here is how to access host services from a container running on Windows Server 2016. This applies to containers running with NAT networking mode. This is the default, so unless you explicitly use something else, this should work for you. ...
Accessing a Running Windows Server 2016 Container Dec 18, 2016 Occasionally it can be useful to access a running container. On Linux it is possible to open a bash session with a new instance of the container’s shell with docker exec -it [containername] bash. Because the Docker interface works the same way on Windows it is surprisingly easy to open a command prompt for a running container. Simply execute docker exec -it [containername] cmd. When you want to exit again, just use the exit command. ...
Access Docker Registry with Self-Signed Certificate on Windows Server 2016 Oct 26, 2016 With Windows Server 2016 available it’s time to find out all the little details when using Docker to administrate containers. A common scenario is accessing a private/internal hosted Docker Registry protected with a self-signed certificate (Details). Here is how you enable the Docker daemon and CLI on Windows Server 2016 to use your certificate when talking to the registry. Have your certificate (.crt) file available on the server Copy it to C:\ProgramData\docker\certs. ...
Update to VSTS Build Extension for Visual Studio Code Oct 02, 2016 An extension that I otherwise thought to be obsolete as a result of an official VSTS extension for Visual Studio Code having been released, has received an update! The number of downloads keep increasing, and it appears it brings some value in addition to the official extension. will be spending some time over the next weeks bringing a couple of new features to it and trying to get feature requests implemented as well. ...
No Downtime, Continuous Deployment Setup With Visual Studio Team Services and Azure May 21, 2016 The goal of this article is to describe a fast way to get started with creating an end-to-end continuous deployment setup with Visual Studio Team Services and Azure. With few resources and in little time you should be able to get a full setup going that deploys a web application to Azure without any downtime for users. The article is split into three parts. This first part will provide a brief overview of the practices applied and services used in the setup. ...
Debugging Python 3.x with Visual Studio Code on OSX May 07, 2016 OSX comes with Python 2.x by default, and setting the default Python version to 3.x is not without trouble. Here is how you debug Python 3.x applications with Visual Studio Code and the Python extension. Open the application folder in VS Code Create a new launch configuration based on the Python template Add "pythonPath": "/Library/Frameworks/Python.framework/Versions/3.5/bin/python3" to the configuration so that it looks similar to the following: { "name": "Python", "type": "python", "request": "launch", "pythonPath": "/Library/Frameworks/Python. ...
Office 365 Saturday 2016 Slides Mar 14, 2016 This saturday I had the opportunity to give a talk at Office 365 Saturday Denmark 2016, on Continuous Deployment with Visual Studio Team Services and Azure. Even though it was a last minute session I put together as a result of another speaker having cancelled due to illness I think it turned out great. Lot’s of good questions and interest! By request, the slides are available for download. Feel free to reach out if you have any questions! ...
Ten Useful Visual Studio Team Services Features You Might Not Know Jan 19, 2016 In this post I have gathered ten useful features of Visual Studio Team Services. Many of these are not new features, but you had to dig a little to find out they were there. In the recent months the UI has received several improvements and some of these are now more visible, without having to dive deep in the collection administration. There are also a couple of recent additions that should make your life easier! ...
Watch your Visual Studio Team Services Builds in Visual Studio Code! Jan 06, 2016 I am starting to find myself spend more and more time in Visual Studio Code. Instead of going to VSTS project sites to view status of my builds, I decided to put it directly into VS Code as an extension. The extension puts a status icon in the status bar which shows the status of a selected build definition. You can find the “Visual Studio Team Services Build Status” extension directly in VS Code or the market place https://github. ...