Skip to content

Commit

Permalink
feat: configure open file limit at the service level and provide a re…
Browse files Browse the repository at this point in the history
…asonable default

Revert "fix: set selinux for template command"

This reverts commit 90e1be5.

fix: set selinux for template command
  • Loading branch information
ryanfaircloth committed Dec 5, 2024
1 parent 07a78c2 commit b3adfa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ kafka_version: 3.8.0
kafka_scala_version: 2.13
kafka_java_version: 17
kafka_install_dependencies: false
kafka_open_file_limit: 800000
# if kafka_checksum is defined role will use that value instead getting checksum from kafka downloads page
# kafka_checksum: >
# sha512: B8679283 A2D8DAB8 6E7C636B 2C688FE9 D9E64AC4
Expand Down
1 change: 1 addition & 0 deletions templates/kafka.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Description=Kafka: Scalable Queuing System
After=network.target

[Service]
LimitNOFILE={{ kafka_open_file_limit}}
Type=simple
EnvironmentFile=-/etc/sysconfig/kafka
User={{ kafka_user}}
Expand Down

0 comments on commit b3adfa5

Please sign in to comment.