Skip to content

Instantly share code, notes, and snippets.

2018-03-09 10:40:17.025 INFO 74216 --- [container-0-C-1] o.a.k.c.c.internals.AbstractCoordinator : [Consumer clientId=consumer-2, groupId=anonymous.daa72c3b-4e72-406f-8220-afec94b414c0] Successfully joined group with generation 1
2018-03-09 10:40:17.027 INFO 74216 --- [container-0-C-1] o.a.k.c.c.internals.ConsumerCoordinator : [Consumer clientId=consumer-2, groupId=anonymous.daa72c3b-4e72-406f-8220-afec94b414c0] Setting newly assigned partitions [demo-0]
2018-03-09 10:40:17.072 INFO 74216 --- [container-0-C-1] o.s.c.s.b.k.KafkaMessageChannelBinder$1 : partitions assigned: [demo-0]
2018-03-09 10:40:17.559 DEBUG 74216 --- [ctor-http-nio-2] xIntegrationRequestMappingHandlerMapping : Looking up handler method for path /
2018-03-09 10:40:17.561 TRACE 74216 --- [ctor-http-nio-2] xIntegrationRequestMappingHandlerMapping : Found 1 matching mapping(s) for [DefaultRequestPath[fullPath='[path='/']', contextPath='', pathWithinApplication='/']] : [{[/],methods=[POST],consumes=[application/json]}]
2018-03-09 10:40:17
(03:22:33)(tj@ganga)(~)$ cat /tmp/vartest.cf
bundle agent main
{
vars:
"foo"
string => $(cf_null);
classes:
"is_foo_variable"
expression => isvariable("foo");
@tjormola
tjormola / gist:98efc0c8eb8219d4a48ab75465e468c0
Created July 18, 2016 22:48
TLS protected LDAP connection problem with Postfix doing ldap_table lookups from ActiveDirectory
############################################################
# Story: Postfix 3.1.0 as packaged in Ubuntu 16.04 xenial
# fails to open a STARTTLS initiated TLS protected connection
# to LDAP when using ldap_table for
# e.g. virtual_mailbox_domains with error
#
# Unable to allocate new TLS context -1: Can't contact LDAP server
#
# The target LDAP is an ActiveDirectory instance implemented
# by Samba 4.4.5. Certificate chain is ok with a custom CA.
body agent control
{
ifelapsed => 0;
}
bundle agent main
{
vars:
"data_template" data => parsejson('[
{
body agent control
{
ifelapsed => 0;
}
bundle agent main
{
vars:
"data_template" data => parsejson('[
{
body common control
{
bundlesequence => { "datatest" };
}
body agent control
{
ifelapsed => 0;
}
bundle agent datatest
{
body common control
{
bundlesequence => { "datatest" };
}
body agent control
{
ifelapsed => 0;
}
bundle agent datatest
{
body common control
{
bundlesequence => { "datatest" };
}
body agent control
{
ifelapsed => 0;
}
bundle agent datatest
{
#!/bin/bash
# Initialize
RAILS_BASE=/tmp/rails
APP_NAME=foo
WAIT_TIME=2
set -e -o verbose -o xtrace
# Display system info
lsb_release -a
@tjormola
tjormola / output.txt
Created April 10, 2013 10:01
Sample output of the test-relative-url-root-with-static-content.sh script
(12:57:55)(tj@ganga)(~)$ ./test-relative-url-root-with-static-content.sh
# Display system info
lsb_release -a
+ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise