+
    iE  c                   s6    ^ RI t ^ RIHtHt  ! R R]]4      tR# )i    N)PluginUbuntuPluginc                   sD   a  ] tR t^t o RtRtRtRtR	tR
t	R t
R tRtV tR# )Kafkaz
This plugin collects log and configuration files, and also basic
installation information (e.g., `snap info`) for Apache Kafka.
zApache Kafka pluginkafkac                s    V P                  R 4      '       d   RMRpV P                  '       d   V P                  R4       RpRpMRpRpV P                  W!,           V.4       R# )	Zall_logsz*.log*z*.logzsnap info charmed-kafkaz-/var/snap/charmed-kafka/common/var/log/kafka/*/var/snap/charmed-kafka/current/etc/kafka/z/usr/local/kafka/logs//usr/local/kafka/config/N)Z
get_optionis_snapZadd_cmd_outputZadd_copy_spec)selfZlog_file_patternZlog_pathconfig_paths   &   =/usr/lib/python3.14/site-packages/sos/report/plugins/kafka.pysetupZKafka.setup   s`    '+z'B'B8<<< 9:FHFK/H4K'
 	    c                s   R R.pV P                   '       d   RMRpRRP                  V4       R2p\        P                  ! V4       F?  w  rEpV F3  pV P	                  \        P
                  P                  WG4      VR4       K5  	  KA  	  R# )	ZpasswordZusernamer   r   z(^\s*(Z|z)\s*=\s*)(.*)z\1*********N)r   ZjoinosZwalkZdo_path_regex_subZpath)r   Zprotect_keysr   ZregexpZrootZ_ZfilesZfiles   &       r	   postprocZKafka.postproc,   s    "J0 ||| 9+ 	 388L12-@ ggk2NDU&&rww||D'?'-~?  3r    N)services)zcharmed-kafka)r   )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__Z
short_descZplugin_nameZprofilesZpackagesr   r
   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r	   r   r      s4     
 'JKH!HH"? ?r   r   )r   Zsos.report.pluginsr    r   r   r   r   r	   <module>r      s    
 3,?FL ,?r   