КТ
как раз искал в доке
Size: a a a
КТ
МЧ
AS
ts = todate()
, но если ключ партиционирования там отсутствует, то надо делать toYYYYMMDD(ts) = toYYYYMMDD(today())
.D
select * from system.metrics m where metric like '%Background%Task%';
E
--kafka.xml в config.d/
<?xml version="1.0"?>
<yandex>
<kafka>
<sasl_mechanism>PLAIN</sasl_mechanism>
<security_protocol>SASL_PLAINTEXT</security_protocol>
<sasl_username>user</sasl_username>
<sasl_password>pass</sasl_password>
</kafka>
<kafka_topic_my-topic>
<sasl_mechanism>PLAIN</sasl_mechanism>
<security_protocol>SASL_PLAINTEXT</security_protocol>
<sasl_username>user2</sasl_username>
<sasl_password>pass2</sasl_password>
</kafka_topic_my-topic>
</yandex>
kafka_topic_list = 'my-topic'
)<kafka
_topic_my-first-topic>
- не работает. Ему ‘-’ не нравится?DC
DC
DC
S
--kafka.xml в config.d/
<?xml version="1.0"?>
<yandex>
<kafka>
<sasl_mechanism>PLAIN</sasl_mechanism>
<security_protocol>SASL_PLAINTEXT</security_protocol>
<sasl_username>user</sasl_username>
<sasl_password>pass</sasl_password>
</kafka>
<kafka_topic_my-topic>
<sasl_mechanism>PLAIN</sasl_mechanism>
<security_protocol>SASL_PLAINTEXT</security_protocol>
<sasl_username>user2</sasl_username>
<sasl_password>pass2</sasl_password>
</kafka_topic_my-topic>
</yandex>
kafka_topic_list = 'my-topic'
)<kafka
_topic_my-first-topic>
- не работает. Ему ‘-’ не нравится?E
E
VM
select * from system.metrics m where metric like '%Background%Task%';
VM
VM
VM
M
DC
TT
S
S